du-summarizes disk usage

 <  Day Day Up  >  

du ”summarizes disk usage

 du [arskod] [name ...] 

The du command reports the number of 512-byte blocks contained in all files and (recursively) directories within each directory and file specified.

Example A.22.
 1   du -s /desktop 2   du -a 

EXPLANATION

  1. Displays a summary of the block usage for all the files in /desktop and its subdirectories.

  2. Displays block usage for each file in this directory and subdirectories.

 <  Day Day Up  >  


UNIX Shells by Example
UNIX Shells by Example (4th Edition)
ISBN: 013147572X
EAN: 2147483647
Year: 2004
Pages: 454
Authors: Ellie Quigley

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net