ls [options] [<dir_name>]
Display help.
Display all files, including those with hidden and system attributes.
Display verbose file information, including attributes, file size and last-modified date. The attributes have the following format:
directory
read only
hidden
system
archived
For example, d--s-
indicates a directory with the system bit set. Note that system and hidden files/directories will only be shown if the --all
option is specified.
Display file sizes in human readable form.
Do not display localised time and date formats; instead use microseconds from 0AD nominal Gregorian.
Outputs one entry per line rather than trying to columnise the output. Is implied if stdout
is redirected or if --long
or --recurse
are specified.
Recursively list any directories that are encountered. Implies --one
.
The directory to list (defaults to the current working directory). [filename]
List the contents of a directory.
By default ls will columnize the output list. On very large directory listings this may cause the ls command to run out of memory. If this happens, try using the -1
/--one
option, which will not attempt to format the output.
Copyright (c) 2006-2011 Accenture. All rights reserved.