My Tech Notes
Search This Blog
ls: list only files
for f in *; do [[ -d "$f" ]] || echo "$f"; done
find . -maxdepth 1 -type f -printf '%f\n'
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment