du Top Level

du

  1. Quick and Concise Document

  2. Beginners

  3. Advanced

du QCD Help

 Command                     Description
 -------                     -----------

 du -kas                     List the size of all files in your 
                             home directories.

 du -kas | more              Direct the output of the du -kas 
                             command through the more program.

 du -s                       Obtain a summary of total disk usage
                             for all files in your home directories.

 du -kas | sort -nr | more   Sort the output of the du -kas command
                             by largest files first, and direct the
                             output through the more program.

du Beginner Help


Use the du -kas command to assess the size of your files.  This command
reports the number of blocks (1 block =  512 bytes) contained in all
files and subdirectories in your home directory.

For example:
world% du -kas
1 ./.cshrc
1 ./.login
227 ./.newsrc
0 ./mail/sent-mail
0 ./mail/saved-messages
9 ./my.schedule
23 ./program.txt
135 ./booklist
402 /home/casa/login_name

If you have numerous files and subdirectories, the du -kas command will give you many pages of output. To manage the output of this command so that you can review it more easily, direct it to the more program.

For example:
world% du -kas | more

du Advanced Help


To obtain a listing of the size of your files sorted by the largest
files first, using the more utility to manage the output, use the
following command:

   world%  du -kas ! sort -nr ! more


HOME Top of Help Desk Eye On The World  The World Kiosk


             For further assistance, please send an email 
                   request to support@world.std.com

        Copyright 1995 Software Tool & Die, Inc.  All Rights Reserved.

   Software Tool & Die, Inc., 1330 Beacon St. Suite 215 Brookline, MA 02146