Commit | Line | Data |
---|---|---|
07c80ee0 BJ |
1 | .TH DU 1 |
2 | .SH NAME | |
3 | du \- summarize disk usage | |
4 | .SH SYNOPSIS | |
5 | .B du | |
6 | [ | |
7 | .B \-s | |
8 | ] [ | |
9 | .B \-a | |
10 | ] [ name ... ] | |
11 | .SH DESCRIPTION | |
12 | .I Du | |
13 | gives the number of blocks contained in all files | |
14 | and (recursively) directories within each specified directory or | |
15 | file | |
16 | .IR name . | |
17 | If | |
18 | .I name | |
19 | is missing, | |
20 | `\fB.\fR' | |
21 | is used. | |
22 | .PP | |
23 | The optional argument | |
24 | .B \-s | |
25 | causes only the grand total to | |
26 | be given. | |
27 | The optional argument | |
28 | .B \-a | |
29 | causes an entry to be generated | |
30 | for each file. | |
31 | Absence of either causes an entry to be generated for | |
32 | each directory only. | |
33 | .PP | |
34 | A file which has two links to it is only counted once. | |
35 | .SH BUGS | |
36 | Non-directories | |
37 | given as arguments (not under | |
38 | .B \-a | |
39 | option) are not listed. | |
40 | .br | |
41 | If there are too many distinct linked files, | |
42 | .I du | |
43 | counts the excess files multiply. |