Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Possible Duplicate:
How to understand what's taking up space?

Are there any tools in Linux for graphically visualizing the distribution of file sizes under a given path?

I am looking for something along the lines of WinDirStat, but on Linux, e.g. see snapshot below:

            enter image description here

Also, are there any similar tools that would show such distribution on a terminal? (I usually use df -csh *, but this only shows one level of a file hierarchy, and does not have any mechanisms for navigating a report, e.g. as I browse up and down through a file hierarchy).

share|improve this question

marked as duplicate by Gilles, Michael Mrozek Jul 21 '12 at 3:58

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

5 Answers 5

up vote 2 down vote accepted

I am using Disk Usage Analyser (aka Baobab), its output looks like this. (It's a png, couldn't paste it here). I believe it's part of the regular Ubuntu installation.

Also, there's KDirStat, a clone of WinDirStat, here's a screenshot:

enter image description here

Check out this page 6 Great Apps to View Disk Usage in Linux for a collection of other tools.

share|improve this answer

I am using ncdu for that purpose on the command line. The Homepage of that tool includes a list of similar software: http://dev.yorhel.nl/ncdu

On KDE there is Filelight, which does a similar job, but with a slightly different representation.

enter image description here

share|improve this answer

An oldy but goody: xdu It's an X11 display program, but you actually run it from the command line: du | xdu I believe that du also takes an argument, the directory in which to start. Apparently you can also use xdu to display other hierarchically-arranged numerical data, too.

It isn't hard to compile. You'll need xmkmf or something from the "imake" package of products.

share|improve this answer

The GTK Tool Baobab looks just like the tool you are showing above.

The NCURSES tool TDU will provide you with a nice text-mode console tool.

Baobab Screen Shot TDU Screen Shot

share|improve this answer

Another ncurses alternative is ncdu.

share|improve this answer

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