BSD 3 development
authorBill Joy <wnj@ucbvax.Berkeley.EDU>
Sun, 25 Nov 1979 09:41:29 +0000 (01:41 -0800)
committerBill Joy <wnj@ucbvax.Berkeley.EDU>
Sun, 25 Nov 1979 09:41:29 +0000 (01:41 -0800)
Work on file usr/man/man1/du.1

Synthesized-from: 3bsd

usr/man/man1/du.1 [new file with mode: 0644]

diff --git a/usr/man/man1/du.1 b/usr/man/man1/du.1
new file mode 100644 (file)
index 0000000..e245f4f
--- /dev/null
@@ -0,0 +1,43 @@
+.TH DU 1 
+.SH NAME
+du \- summarize disk usage
+.SH SYNOPSIS
+.B du
+[
+.B \-s
+] [
+.B \-a
+] [ name ... ]
+.SH DESCRIPTION
+.I Du
+gives the number of blocks contained in all files
+and (recursively) directories within each specified directory or
+file
+.IR name .
+If
+.I name
+is missing,
+`\fB.\fR'
+is used.
+.PP
+The optional argument
+.B \-s
+causes only the grand total to
+be given.
+The optional argument
+.B \-a
+causes an entry to be generated
+for each file.
+Absence of either causes an entry to be generated for
+each directory only.
+.PP
+A file which has two links to it is only counted once.
+.SH BUGS
+Non-directories
+given as arguments (not under
+.B \-a
+option) are not listed.
+.br
+If there are too many distinct linked files,
+.I du
+counts the excess files multiply.