Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I was wondering how do you know where the largest files in my system are stored.

For example---

Disk Space Used: 1GB Java: 500MB Java Percentage: 50% maybe represented in a pie chart. Maybe?

I know this maybe a feature overkill. I sometimes forget having stored things and wonder why my disk is so full.

So basically a command that will allow me to run on the file system and provide me with information on disk space used.

Please and thank you.

share|improve this question
add comment

6 Answers

up vote 13 down vote accepted

The Disk Usage Analyzer is available under Ubuntu > Accessories > Disk Usage Analyzer. It provides you with a snazzy pie graph showing what files and folders take up the most space:

enter image description here

The documentation on it is a little sparse, but you can find more information on the Ubuntu wiki, and the project page.

If you're interested in using the command line, there's du which is described here.

share|improve this answer
    
Mmm. Delicious pie... –  Erigami Nov 14 '12 at 15:26
add comment

Unless it changed recently, baobab only shows directories; check out kdirstat for an alternative that actually shows files, coloured by type.

A commandline alternative is

du -a | sort -nr | head
share|improve this answer
add comment

Another tool for this is jDiskReport (a Java app)

share|improve this answer
add comment

The other excellent pie-graph disk usage tool is Filelight. It's a KDE app, and it's available in the repositories.

share|improve this answer
    
It depends on kde-runtime and a few other KDE utilities, so it's likely not pure Qt. Thus it will probably be more suitable for Kubuntu users. –  Chris Jun 27 '13 at 7:04
    
Ok, I'll update my answer –  Ryan Thompson Jun 27 '13 at 17:15
add comment

Use the Disk Usage Analyser (Applications -> Accessories -> Disk Usage Analyser):

(The command is baobab).

Click Analyser -> Scan Filesystem

share|improve this answer
add comment

A useful command to that helps in cases you need to determine that for specific directories from the command line:

du --max-depth=1

It gives you a list of the first depth directories and their sizes

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.