Unix Help
du Display Disk Usage

To see how much disk space you as a user are occupying on the filesystem, use the du -k (display usage) command.

du -s -k will display the total size (in kilobytes) of all files in all directories in your home directory.

For example, the following shows that user joe-user has files occupying 75 kilobytes in all directories.

UNIX>du -s -k
75 /home/joe-user

To see a more detailed listing of your space usage, use

du -k

For example:

UNIX>du -k
27 /home/joe-user/foo
5 /home/joe-user/Mail/inbox
7 /home/joe-user/Mail
16 /home/joe-user/bar
75 /home/joe-user
shows that joe-user's 75 kb is distributed as 27 kb in foo, 7 kb in Mail, and 16 kb in bar. Mail also has a subdirectory called inbox that is using 5 kb. This puts 50 kb in joe-user's subdirectories and 25 kb in files in joe-user's top-level directory.

Note: For further information, see the manual page (man du).