1 ." DO NOT MODIFY THIS FILE! It was generated by help2man 1.5.1.2.
2 .TH LS 1 "November 1998" "GNU fileutils 4.0" "FSF"
4 ls \- list directory contents
7 [\fIOPTION\fR]... [\fIFILE\fR]...
10 ." Add any additional description here
12 List information about the FILEs (the current directory by default).
13 Sort entries alphabetically if none of \fB\-cftuSUX\fR nor \fB\-\-sort\fR.
15 \fB\-a\fR, \fB\-\-all\fR
16 do not hide entries starting with .
18 \fB\-A\fR, \fB\-\-almost\-all\fR
19 do not list implied . and ..
21 \fB\-b\fR, \fB\-\-escape\fR
22 print octal escapes for nongraphic characters
24 \fB\-\-block\-size\fR=\fISIZE\fR
27 \fB\-B\fR, \fB\-\-ignore\-backups\fR
28 do not list implied entries ending with ~
31 sort by change time; with \fB\-l\fR: show ctime
34 list entries by columns
36 \fB\-\-color\fR[=\fIWHEN\fR]
37 control whether color is used to distinguish file types. WHEN may be `never', `always', or `auto'
39 \fB\-d\fR, \fB\-\-directory\fR
40 list directory entries instead of contents
42 \fB\-D\fR, \fB\-\-dired\fR
43 generate output designed for Emacs' dired mode
46 do not sort, enable \fB\-aU\fR, disable \fB\-lst\fR
48 \fB\-F\fR, \fB\-\-classify\fR
49 append indicator (one of */=@|) to entries
51 \fB\-\-format\fR=\fIWORD\fR
52 across \fB\-x\fR, commas \fB\-m\fR, horizontal \fB\-x\fR, long \fB\-l\fR, single-column \fB\-1\fR, verbose \fB\-l\fR, vertical \fB\-C\fR
55 list both full date and full time
60 \fB\-G\fR, \fB\-\-no\-group\fR
61 inhibit display of group information
63 \fB\-h\fR, \fB\-\-human\-readable\fR
64 print sizes in human readable format (e.g., 1K 234M 2G)
66 \fB\-H\fR, \fB\-\-si\fR
67 likewise, but use powers of 1000 not 1024
69 \fB\-\-indicator\-style\fR=\fIWORD\fR
70 append indicator with style WORD to entry names: none (default), classify (-F), file-type (-p)
72 \fB\-i\fR, \fB\-\-inode\fR
73 print index number of each file
75 \fB\-I\fR, \fB\-\-ignore\fR=\fIPATTERN\fR
76 do not list implied entries matching shell PATTERN
78 \fB\-k\fR, \fB\-\-kilobytes\fR
79 like \fB\-\-block\-size\fR=\fI1024\fR
82 use a long listing format
84 \fB\-L\fR, \fB\-\-dereference\fR
85 list entries pointed to by symbolic links
88 fill width with a comma separated list of entries
90 \fB\-n\fR, \fB\-\-numeric\-uid\-gid\fR
91 list numeric UIDs and GIDs instead of names
93 \fB\-N\fR, \fB\-\-literal\fR
94 print raw entry names (don't treat e.g. control characters specially)
97 use long listing format without group info
99 \fB\-p\fR, \fB\-\-file\-type\fR
100 append indicator (one of /=@|) to entries
102 \fB\-q\fR, \fB\-\-hide\-control\-chars\fR
103 print ? instead of non graphic characters
105 \fB\-\-show\-control\-chars\fR
106 show non graphic characters as-is (default)
108 \fB\-Q\fR, \fB\-\-quote\-name\fR
109 enclose entry names in double quotes
111 \fB\-\-quoting\-style\fR=\fIWORD\fR
112 use quoting style WORD for entry names: literal, shell, shell-always, c, escape
114 \fB\-r\fR, \fB\-\-reverse\fR
115 reverse order while sorting
117 \fB\-R\fR, \fB\-\-recursive\fR
118 list subdirectories recursively
120 \fB\-s\fR, \fB\-\-size\fR
121 print size of each file, in blocks
126 \fB\-\-sort\fR=\fIWORD\fR
127 extension \fB\-X\fR, none \fB\-U\fR, size \fB\-S\fR, time \fB\-t\fR, version \fB\-v\fR status \fB\-c\fR, time \fB\-t\fR, atime \fB\-u\fR, access \fB\-u\fR, use \fB\-u\fR
129 \fB\-\-time\fR=\fIWORD\fR
130 show time as WORD instead of modification time: atime, access, use, ctime or status; use specified time as sort key if \fB\-\-sort\fR=\fItime\fR
133 sort by modification time
135 \fB\-T\fR, \fB\-\-tabsize\fR=\fICOLS\fR
136 assume tab stops at each COLS instead of 8
139 sort by last access time; with \fB\-l\fR: show atime
142 do not sort; list entries in directory order
147 \fB\-w\fR, \fB\-\-width\fR=\fICOLS\fR
148 assume screen width instead of current value
151 list entries by lines instead of by columns
154 sort alphabetically by entry extension
157 list one file per line
160 display this help and exit
163 output version information and exit
165 By default, color is not used to distinguish types of files. That is
166 equivalent to using \fB\-\-color\fR=\fInone\fR. Using the \fB\-\-color\fR option without the
167 optional WHEN argument is equivalent to using \fB\-\-color\fR=\fIalways\fR. With
168 \fB\-\-color\fR=\fIauto\fR, color codes are output only if standard output is connected
171 Report bugs to <bug-fileutils@gnu.org>.
173 The full documentation for
175 is maintained as a Texinfo manual. If the
179 programs are properly installed at your site, the command
183 should give you access to the complete manual.