If no names are given, list the files
in the current directory. With one or more
names, list files contained in a directory
name or that match a file
name. The options let you display a variety
of information in different formats. The most useful options
Some options don’t make sense together; e.g.,
Modern versions of ls
pay attention to the LC_COLLATE environment variable. Its
en_US, (in the
United States) causes ls to
sort in dictionary order (i.e., ignoring case). You may prefer
to set LC_COLLATE to
restore the traditional Unix behavior of sorting in ASCII
List all files, including the normally hidden
-a, but exclude . and .. (the current and parent directories).
Show nonprinting characters in octal.
List files by inode modification time.
List files in columns (the default format, when displaying to a terminal device).
List only the directory’s information, not its contents. (Most useful with
Interpret each name as a directory (files are ignored).
Flag filenames by appending
>to doors (Solaris only),
*to executable files,
@to symbolic links, and
-l, but omit owner name (show group).
Produce “human-readable” output, using abbreviations ...