Node:ls, Next:ltag, Previous:lpwd, Up:Yafc commands
ls
List files.
Usage:
ls [options] [files ...]
Options:
-a
--all
- Do not hide entries starting with '.'.
-A
--almost-all
- As
--all
, but do not list . and .. -B
--ignore-backups
- Do not list implied entries ending with ~.
-C
- List entries by columns.
--color[=WHEN]
- Control whether color is used to distinguish file types. WHEN may be
either never, always or auto. If WHEN is not given,
default is always. If the argument is auto, colors will be used
only if output is bound to a tty.
-d
--directory
- List directory entries instead of contents.
--dirs-first
- Show directories first (last with
--reverse
). -F
--classify
- Append a character for typing each entry.
-g
- Ignored.
-G
--no-group
- Inhibit display of group information.
-h
--human-readable
- Print sizes in human readable format (e.g. 1K, 234M, 2G)
-l
- Use a long listing format.
-N
--literal
- Print raw entry names (don't treat control characters specially)
-o
- Use a long listing format without group info. Same as
-lG
. -r
--reverse
- Reverse order while sorting.
-R
--recursive
- List subdirectories recursively.
-S
- Sort by file size
-t
- Sort by modification time.
-U
- Do not sort; list entries in directory order.
-x
- List entries by lines instead of by columns.
-X
- Sort alphabetically by entry extension.
-1
- List one file per line.
--help
- Show a short syntax description.