du (display disk usage)

team bbl


Displays the amount of disk space used by a directory and each subdirectory.

 Format:    du directory_name Examples:  du            du /home/janet 

If the directory named is omitted, the current directory is used. The size is displayed as the number of KB blocks.

Opt

What It Does

Example

-a

List all files, not just subdirectories

du -a

-b

Display size in bytes

du -b

-c

Display grand total

du -c

-m

Display size in megabytes

du -m

-s

Display only the grand total

du -s


    team bbl



    Spring Into Linux
    Spring Into Linux
    ISBN: 0131853546
    EAN: 2147483647
    Year: 2005
    Pages: 362
    Authors: Janet Valade

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