Tuesday, August 14, 2012

Why is My Stupid Hard-Drive Full?

This is one of those simple things you didn't know about but that you can't live without. Linux and Mac both support du, which tells you your disk usage. If you want to see your usage in a particular folder, use this form:

~ $ du -hs *

Maybe it's time to finally clean out that ~/Videos folder. Works great for cleaning out servers too.

No comments:

Post a Comment