Charles.Forsyth20060303-partialeea662d19 years agoHistory
66 lines · 1.4 KB · Text
RawDownload
.TH DU 1.SH NAMEdu \- disk usage.SH SYNOPSIS.RB du " [ \-anstu ][.BI -b " blocksize"].RI [ "file ..." ].SH DESCRIPTION.I Duwrites to standard output the total size of files specified as arguments.Directories are recursively tallied.A summary line is produced for each argument.I fileand subdirectory.If no filenames are provided,the command operates on the current directory..PPOutput sums are rounded up to the nearest 1k unit (1024 bytes).By default, storage is assumed to be quantised in units of 1024 bytes.The.B -boption sets a different.I blocksizefor quantisation,optionally suffixed by.B kfor units of kilobytes;output is still in 1k units..PP.I Duaccepts the following options:.TP.B \-aOutput usage information for all subordinate files,not just directories..TP.B \-nOutput just the filenames (but see the.B -toption below); implies.BR -a ..TP.B \-sPrint only the summary line for each.IR file ..TP.B \-tDisplay the last-modified time for each file, not its size;when used with the.B \-noption,outputs the filename,modification time (seconds since the epoch),size (in bytes),and checksum.The checksum field is always 0; it is a place-holder for a value computed by another command in a pipeline..TP.B \-uDisplay the last-accessed time for each file, not its size..SH SOURCE.B /appl/cmd/du.b.SH SEE ALSO.IR sh (1),.IR sys-stat (2)