Sunday, August 12, 2012

Check files taking up space

There are multiple way to check for files taking space.  Linux command du seems to be the best.
Here is the du command from the LinuxCommandOrg

du -s * | sort -nr > $HOME/space_report.txt

du also has option which can skip NFS mounted dir. See du man page.

No comments:

Post a Comment