Feb 14, 2009

Quick Tip: Sort by directory size

If you've got files hidden around your system and you don't know where they are, you can use a quick command to track them down. Try this:


sudo du --max-depth=1 /home/ | sort -n -rs

No comments:

Post a Comment