home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
300-399
/
ff345.lzh
/
Du
/
du.doc
< prev
next >
Wrap
Text File
|
1990-04-16
|
1KB
|
41 lines
Format: DU [-A][-S][<name>*]
Template: DU "-A/S,-S/S,"names"
Purpose: To tell you how many disk blocks are used by files
Specification:
DU tells the user how many disk blocks are used by files or directories.
DU without any arguments will give the total number of disk blocks used
by files within the current directory and any subdirectories below it. If
the -A switch is used, the command will list each file with the number of
blocks used by it next to its name. Directories will be signified by (dir)
following the name and the total number of blocks used by files and
directories within it will follow that. The -S switch will give the sum
only for the directory names given it. The command is typically used to
determine if sufficient room exists on a disk for a file or subdirectory
to be copied to it. The -A and -S switches are mutually exclusive.
Examples:
DU df1:
gives total number of blocks used by files and subdirectories of df1:
without listing each file name (lists directories only).
DU -S df1:
gives the total number of blocks used by files and subdirectories of df1:
without listing each subdirectory name.
DU -A df1:c
gives the number of blocks used by each file and subdirectory within df1:c
while listing each file.
See also:
INFO,COPY