Contents
How do I find read only files in Linux?
you could do ls -l | grep ^. r– to find exactly what you asked for, “files that have read permission only…”
How do I list only files in Linux?
Here are some additional options that I find useful and interesting:
- List only the . txt files in the directory: ls *. txt.
- List by file size: ls -s.
- Sort by time and date: ls -d.
- Sort by extension: ls -X.
- Sort by file size: ls -S.
- Long format with file size: ls -ls.
- List only the . txt files in a directory: ls *. txt.
3 окт. 2018 г.