[Linux Tip] Finding what is using up space in your drive

In linux, you have the usual tools (fdisk -l) tells you what drives are present and partitions and this tells you what partitions are mounted where (df -h), but after that it's not pleaseant task to find missing space, I've seen folks use ls for it.

Quick tip: du -h gives you folders and their human readable sizes. sort -rn sorts them by category, K, M, G

# du -h /root/ | sort -rn
180K    /root/.gconf
156K    /root/.gconf/apps</p>