
du | 129
Linux
Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
-t Mark unreadable clusters as bad.
-u file
Attempt to undelete the named file.
-v Verbose mode.
-w Write changes to disk immediately.
-y When queried, answer “yes.”
-A Filesystem is an Atari version of MS-DOS.
-V Repeat test to verify all errors have been corrected.
du
du [options] [directories]
Print disk usage (as the number of 1 KB blocks used by each named
directory and its subdirectories; default is the current directory).
Options
-a, --all
Print disk usage for all files, not just subdirectories.
-b, --bytes
Print sizes in bytes.
-c, --total
In addition to normal output, print grand total of all
arguments.
-D, --dereference-args
Follow symbolic links, but only if they are command-line
arguments.
-h, --human-readable
Print sizes in human-readable format.
-H, --si
Like -h, but show as power of 1000 rather than 1024.
-k, --kilobytes
Print sizes in kilobytes (this is the default).
-l, --count-links
Count the size of all files, whether or not they have already
appeared (i.e., via a hard link).
-L, --dereference
Follow symbolic links.
--exclude=pattern
Exclude files that match pattern.
--max-depth=num
Report sizes for directories only down to num levels below the
starting point (which is level 0).
-m, --megabytes
Print sizes in megabytes.
-s, --summarize
Print only the grand total for each ...