In Linux, if you want to find out what your disk usage is by directory, in order to see what the heck is filling up your hard drive, try this at the command prompt:
du -s * | sort -nr > diskusage.txt
the, type in:
gedit diskusage.txt
(or whatever you need to type in to open your favorite text editor)
the -s option is to “summarize” the data, giving only a total.




