Go to the first, previous, next, last section, table of contents.


General output formatting

These options affect the appearance of the overall output.

`-1'
`--format=single-column'
List one file per line. This is the default for ls when standard output is not a terminal.
`-C'
`--format=vertical'
List files in columns, sorted vertically. This is the default for ls if standard output is a terminal. It is always the default for the dir and d programs.
`--color [=when]'
Specify whether to use color for distinguishing file types. when may be omitted, or one of: Specifying `--color' and no when is equivalent to `--color=always'.
`-F'
`--classify'
Append a character to each file name indicating the file type. Also, for regular files that are executable, append `*'. The file type indicators are `/' for directories, `@' for symbolic links, `|' for FIFOs, `=' for sockets, and nothing for regular files.
`--full-time'
List times in full, rather than using the standard abbreviation heuristics. The format is the same as date's default; it's not possible to change this, but you can extract out the date string with cut and then pass the result to date -d. See section `date invocation' in Shell utilities. This is most useful because the time output includes the seconds. (Unix filesystems store file timestamps only to the nearest second, so this option shows all the information there is.) For example, this can help when you have a Makefile that is not regenerating files properly.
`-k'
`--kilobytes'
If file sizes are being listed, print them in kilobytes. This overrides the environment variable POSIXLY_CORRECT.
`-m'
`--format=commas'
List files horizontally, with as many as will fit on each line, separated by `, ' (a comma and a space).
`-n'
`--numeric-uid-gid'
List the numeric UID and GID instead of the names.
`-p'
Append a character to each file name indicating the file type. This is like `-F', except that executables are not marked.
`-x format'
`--format=across'
`--format=horizontal'
List the files in columns, sorted horizontally.
`-T cols'
`--tabsize=cols'
Assume that each tabstop is cols columns wide. The default is 8. ls uses tabs where possible in the output, for efficiency. If cols is zero, do not use tabs at all.
`-w'
`--width=cols'
Assume the screen is cols columns wide. The default is taken from the terminal settings if possible; otherwise the environment variable COLUMNS is used if it is set; otherwise the default is 80.


Go to the first, previous, next, last section, table of contents.