Rev | Line | |
---|
[9] | 1 | .TH DU 1
|
---|
| 2 | .SH NAME
|
---|
| 3 | du \- print disk usage
|
---|
| 4 | .SH SYNOPSIS
|
---|
| 5 | \fBdu\fR [\fB\-as\fR]\fR [\fB\-l \fIn\fR] \fIdir\fR ...\fR
|
---|
| 6 | .br
|
---|
| 7 | .de FL
|
---|
| 8 | .TP
|
---|
| 9 | \\fB\\$1\\fR
|
---|
| 10 | \\$2
|
---|
| 11 | ..
|
---|
| 12 | .de EX
|
---|
| 13 | .TP 20
|
---|
| 14 | \\fB\\$1\\fR
|
---|
| 15 | # \\$2
|
---|
| 16 | ..
|
---|
| 17 | .SH OPTIONS
|
---|
| 18 | .FL "\-a" "Give usage for all files"
|
---|
| 19 | .FL "\-l" "List up to \fIn\fR levels of subdirectories"
|
---|
| 20 | .FL "\-d" "Do not cross file system boundaries"
|
---|
| 21 | .FL "\-s" "Summary only"
|
---|
| 22 | .SH EXAMPLES
|
---|
| 23 | .EX "du dir" "List disk space used by files in dir"
|
---|
| 24 | .EX "du \-s dir1 dir2" "Give summaries only"
|
---|
| 25 | .EX "du \-d /" "Show only the root device"
|
---|
| 26 | .SH DESCRIPTION
|
---|
| 27 | .PP
|
---|
| 28 | \fIDu\fR examines one or more directories and prints the amount of space
|
---|
| 29 | occupied by the files in those directories and their subdirectories.
|
---|
| 30 | .SH BUGS
|
---|
| 31 | \fIDu\fR calculates disk usage based on file size. It could be there
|
---|
| 32 | are holes in the file, not occupying any actual disk blocks, causing
|
---|
| 33 | \fIdu\fR to overestimate disk usage. (\fIDu\fR does recognize and correctly
|
---|
| 34 | calculate disk usage when hard links are encountered.)
|
---|
| 35 | .SH "SEE ALSO"
|
---|
| 36 | .BR df (1).
|
---|
Note:
See
TracBrowser
for help on using the repository browser.