what is the best disk space explorer utility for linux?

I want to see folder wise size graphically, which folder has taken how much disk space.

  • Not to be too pedantic but disk space and file usage can be quite different. Baobab, one of the answers, shows files under the root '/' and has no concept of multiple disks or free space. Something like gparted is good at showing overall disk stats but is useless for lower level detail. WinDirStat, and I assume KDirStat, show both disk based and file based information. – AnnanFay Apr 6 '15 at 12:54

Personally I like KDirStat.

kdirstat screenshot

  • Does the job ^-^. Running on gnome desktop the application used its KDE standards instead of trying to use my gnome equivalents. Though whadayaexpect. Great app for the job so long as Baobab doesn't add individual file visualization support. – ThorSummoner Oct 15 '14 at 23:29
  • 2
    Would be perfect, if it didn't want a hundred or two megs of KDE dependencies, not so good if you're not on KDE & don't want all it's stuff, generally counterproductive to increase disk usage that much while trying to reduce disk usage – Xen2050 Jul 13 '15 at 13:53
  • 4
    It has been superseded by QDirStat, which does not depend on KDE. – Chris Hunt Jan 26 '19 at 16:35

Ubuntu default Disk Usage Analyzer (GNOME)

alt text

  • 14
    Also called Baobab. – Mechanical snail Jul 3 '12 at 6:46
  • baobab is awesome! (I wish it had the "delete permanently" option in addition to "move to trash") – pwned Apr 23 '17 at 18:53
  • baobab is painfully slow (unless you have <100k files and lots of time), qdirstat seems to work much better for me. – Mygod May 14 '19 at 13:15

TreeSize for Unix

Filelight (KDE)


While not the prettiest, ncdu works in a text-only terminal and does provide a simple graph of each entry.

Not at all graphical, but highly useful: gt5

  • 5
    +1 for ncdu, it's very useful when connected to machines via ssh. – Matthias Braun Mar 14 '17 at 16:49
  • Awesome tool, but xdiskusage and specially ncdu – Anwar Oct 28 '17 at 16:40
  • Noe that your filelight link redirects elsewear now. – Douglas Gaskell Dec 21 '18 at 20:14

ncdu will be your friend its command line tool presents graphical presentation of you data structure.

Site reference : https://dev.yorhel.nl/ncdu/man

you can install it using Ubuntu repository

root@slave1:~# apt-get install ncdu

usage :

root@slave1:~# ncdu -x /var/jenkins/

  • Please read How to recommend software for minimum required information and other suggestions on how to recommend software on Super User. To keep your answer useful even if the provided link(s) breaks please edit these details into your answer. That said, this question no longer meets this site's standards and will be closed, so there's little point in fixing this answer now... – I say Reinstate Monica Dec 28 '17 at 16:02

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