Linux – Who’s using all the space on this file system

To find how disk space usage you can use the following simple command lines:

# cd /home
# du -sk *                         ### disk usage command
132685  kathy
52721   tom
9       dick
96242   steve
7482    rose
567     barney
# cd kathy
# ls -l | sort -rn +4 | head -5    ### lists, sorts, and shows the top five
-rw-r--r--  1 kathy staff    2494013 Apr 25 08:55 errpt.myserver
-rw-------  1 kathy staff    1256156 Apr 25 09:45 fifthl.sna.Z
-rw-r--r--  1 kathy staff     805888 Apr 27 10:08 network.pci.txt
-rw-r--r--  1 kathy staff     566070 Dec 14 2006  myinst.log
-rw-r--r--  1 kathy staff     533504 Apr 27 10:08 adobeinstructions

Have your user clean up after him or herself.

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackbacks and Pingbacks:

More in General Stuff, Software, Tips (114 of 198 articles)


Each time when you login to Ubuntu, it plays a login sound. If you don't like to listen to it ...