[Next] [Up] [Previous] [Contents]
Next: echo Up: Additional commands Previous: diff

du

The du (disk usage) command displays the number of kilobytes consumed by each file and recursively provides results on directories. This can be useful for determining who the big disk space hogs are when you need more room. Typing


    du -s *
from the parent directory of your home directory, e.g. /home/cernan, gives a grand total of the kilobytes consumed by each user.


c.c.taylor@ieee.org