Sorting directories by size
Posted in Linux at 02:08PM on 02/03/2009

It can be invaluable to a sysadmin to keep track of how much space users are taking up.  One of our servers hosts user accounts who sometimes forget to clean things out.  I wrote a handy one-liner to dump out the rascals involved, sort them by size, and dump the output to screen.  Tacking on > /dir/file would easily output it to a file instead.

Comments
(will not be displayed)
© 2008 Radio Web Services