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