Definition:

  • List information about the FILEs (the current directory by default). Sort entries alphabetically if none of -cftuvSUX nor —sort is specified.

Synopis:

  • ls [_OPTION_]... [_FILE_]...

List of options:

  • -a,--all
    • In directories, do not ignore file names that start with .
  • -d, --directory
    • list directories themselves, not their contents
  • -l,--format=long,--format=verbose:
    • In addition to the name of each file, print the file type, file mode bits, number of hard links, owner name, group name, size, and timestamp (*note Formatting file timestamps::), normally the modification timestamp (the mtime, *note File timestamps::).
  • -R, --recursive: list directories themselves, not their contents
  • -s, --size: list directories themselves, not their contents