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