Penguin
Annotated edit history of dir(1) version 2 showing authors affecting page license. View with all changes included.
Rev Author # Line
1 perry 1 DIR
2 !!!DIR
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 AUTHOR
7 REPORTING BUGS
8 COPYRIGHT
9 SEE ALSO
10 ----
11 !!NAME
12
13
14 dir - list directory contents
15 !!SYNOPSIS
16
17
18 __dir__ [[''OPTION'']... [[''FILE'']...
19 !!DESCRIPTION
20
21
22 List information about the FILEs (the current directory by
23 default). Sort entries alphabetically if none of
24 __-cftuSUX__ nor __--sort__.
25
26
27 __-a__, __--all__
28
29
30 do not hide entries starting with .
31
32
33 __-A__, __--almost-all__
34
35
36 do not list implied . and ..
37
38
39 __-b__, __--escape__
40
41
42 print octal escapes for nongraphic characters
43
44
45 __--block-size__=''SIZE''
46
47
48 use SIZE-byte blocks
49
50
51 __-B__, __--ignore-backups__
52
53
54 do not list implied entries ending with ~
55
56
57 __-c__
58
59
60 with __-lt__: sort by, and show, ctime (time of last
61 modification of file status information) with __-l__:
62 show ctime and sort by name otherwise: sort by
63 ctime
64
65
66 __-C__
67
68
69 list entries by columns
70
71
72 __--color__[[=''WHEN'']
73
74
75 control whether color is used to distinguish file types.
76 WHEN may be `never', `always', or `auto'
77
78
79 __-d__, __--directory__
80
81
82 list directory entries instead of contents
83
84
85 __-D__, __--dired__
86
87
88 generate output designed for Emacs' dired mode
89
90
91 __-f__
92
93
94 do not sort, enable __-aU__, disable
95 __-lst__
96
97
98 __-F__, __--classify__
99
100
101 append indicator (one of */=@|) to entries
102
103
104 __--format__=''WORD''
105
106
107 across __-x__, commas __-m__, horizontal __-x__,
108 long __-l__, single-column __-1__, verbose __-l__,
109 vertical __-C__
110
111
112 __--full-time__
113
114
115 list both full date and full time
116
117
118 __-g__
119
120
121 (ignored)
122
123
124 __-G__, __--no-group__
125
126
127 inhibit display of group information
128
129
130 __-h__, __--human-readable__
131
132
133 print sizes in human readable format (e.g., 1K 234M
134 2G)
135
136
137 __--si__
138
139
140 likewise, but use powers of 1000 not 1024
141
142
143 __-H__
144
145
146 same as `--si' for now; soon to change to conform to
147 POSIX
148
149
150 __--indicator-style__=''WORD'' append indicator with
151 style WORD to entry names:
152
153
154 none (default), classify (-F), file-type (-p)
155
156
157 __-i__, __--inode__
158
159
160 print index number of each file
161
162
163 __-I__, __--ignore__=''PATTERN''
164
165
166 do not list implied entries matching shell
167 PATTERN
168
169
170 __-k__, __--kilobytes__
171
172
173 like __--block-size__=''1024''
174
175
176 __-l__
177
178
179 use a long listing format
180
181
182 __-L__, __--dereference__
183
184
185 show file information for referents of symlinks
186
187
188 __-m__
189
190
191 fill width with a comma separated list of
192 entries
193
194
195 __-n__, __--numeric-uid-gid__
196
197
198 list numeric UIDs and GIDs instead of names
199
200
201 __-N__, __--literal__
202
203
204 print raw entry names (don't treat e.g. control characters
205 specially)
206
207
208 __-o__
209
210
211 use long listing format without group info
212
213
214 __-p__, __--file-type__
215
216
217 append indicator (one of /=@|) to entries
218
219
220 __-q__, __--hide-control-chars__
221
222
223 print ? instead of non graphic characters
224
225
226 __--show-control-chars__
227
228
229 show non graphic characters as-is (default unless program is
230 `ls' and output is a terminal)
231
232
233 __-Q__, __--quote-name__
234
235
236 enclose entry names in double quotes
237
238
239 __--quoting-style__=''WORD''
240
241
242 use quoting style WORD for entry names: literal, locale,
243 shell, shell-always, c, escape
244
245
246 __-r__, __--reverse__
247
248
249 reverse order while sorting
250
251
252 __-R__, __--recursive__
253
254
255 list subdirectories recursively
256
257
258 __-s__, __--size__
259
260
261 print size of each file, in blocks
262
263
264 __-S__
265
266
267 sort by file size
268
269
270 __--sort__=''WORD''
271
272
273 extension __-X__, none __-U__, size __-S__, time
274 __-t__, version __-v__
275
276
277 status __-c__, time __-t__, atime __-u__, access
278 __-u__, use __-u__
279
280
281 __--time__=''WORD''
282
283
284 show time as WORD instead of modification time: atime,
285 access, use, ctime or status; use specified time as sort key
286 if __--sort__=''time''
287
288
289 __-t__
290
291
292 sort by modification time
293
294
295 __-T__, __--tabsize__=''COLS''
296
297
298 assume tab stops at each COLS instead of 8
299
300
301 __-u__
302
303
304 with __-lt__: sort by, and show, access time with
305 __-l__: show access time and sort by name otherwise: sort
306 by access time
307
308
309 __-U__
310
311
312 do not sort; list entries in directory order
313
314
315 __-v__
316
317
318 sort by version
319
320
321 __-w__, __--width__=''COLS''
322
323
324 assume screen width instead of current value
325
326
327 __-x__
328
329
330 list entries by lines instead of by columns
331
332
333 __-X__
334
335
336 sort alphabetically by entry extension
337
338
339 __-1__
340
341
342 list one file per line
343
344
345 __--help__
346
347
348 display this help and exit
349
350
351 __--version__
352
353
354 output version information and exit
355
356
357 By default, color is not used to distinguish types of files.
358 That is equivalent to using __--color__=''none''.
359 Using the __--color__ option without the optional WHEN
360 argument is equivalent to using
361 __--color__=''always''. With
362 __--color__=''auto'', color codes are output only if
363 standard output is connected to a terminal
364 (tty).
365 !!AUTHOR
366
367
368 Written by Richard Stallman and David
369 !MacKenzie.
370 !!REPORTING BUGS
371
372
373 Report bugs to
374 !!COPYRIGHT
375
376
377 Copyright 2001 Free Software Foundation, Inc.
378 This is free software; see the source for copying
379 conditions. There is NO warranty; not even for
380 MERCHANTABILITY or FITNESS FOR A PARTICULAR
381 PURPOSE.
382 !!SEE ALSO
383
384
385 The full documentation for __dir__ is maintained as a
386 Texinfo manual. If the __info__ and __dir__ programs
387 are properly installed at your site, the
388 command
389
390
391 __info dir__
392
393
394 should give you access to the complete manual.
395 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.