Skip to content

Instantly share code, notes, and snippets.

@CosminNechifor
Created January 16, 2019 11:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CosminNechifor/faa614e9c487bb7cfd2181b8f119a8eb to your computer and use it in GitHub Desktop.
Save CosminNechifor/faa614e9c487bb7cfd2181b8f119a8eb to your computer and use it in GitHub Desktop.
~ man ls | grep list
ls - list directory contents
do not list implied . and ..
do not list implied entries ending with ~
-C list entries by columns
list directories themselves, not their contents
-g like -l, but do not list owner
in a long listing, don't print group names
follow symbolic links listed on the command line
do not list implied entries matching shell PATTERN (overridden by -a or -A)
do not list implied entries matching shell PATTERN
-l use a long listing format
-m fill width with a comma separated list of entries
like -l, but list numeric user and group IDs
-o like -l, but do not list group information
list subdirectories recursively
-U do not sort; list entries in directory order
-x list entries by lines instead of by columns
-1 list one file per line. Avoid '\n' with -q or -b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment