Skip to content

Instantly share code, notes, and snippets.

@chapinb
Created January 19, 2019 02:02
Show Gist options
  • Save chapinb/b252fcdd8e8dd1f6c7dace6d9e167026 to your computer and use it in GitHub Desktop.
Save chapinb/b252fcdd8e8dd1f6c7dace6d9e167026 to your computer and use it in GitHub Desktop.
ls man page
$ man ls
LS(1) BSD General Commands Manual LS(1)
NAME
ls -- list directory contents
SYNOPSIS
ls [-ABCFGHLOPRSTUW@abcdefghiklmnopqrstuwx1] [file ...]
DESCRIPTION
For each operand that names a file of a type other than directory, ls
displays its name as well as any requested, associated information. For
each operand that names a file of type directory, ls displays the names
of files contained within that directory, as well as any requested, asso-
ciated information.
If no operands are given, the contents of the current directory are dis-
played. If more than one operand is given, non-directory operands are
displayed first; directory and non-directory operands are sorted sepa-
rately and in lexicographical order.
[...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment