30

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.

1
  • 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, 2015 at 12:54

4 Answers 4

22

Personally I like KDirStat.

kdirstat screenshot

3
  • 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. Oct 15, 2014 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, 2015 at 13:53
  • 5
    It has been superseded by QDirStat, which does not depend on KDE.
    – Chris Hunt
    Jan 26, 2019 at 16:35
38

Ubuntu default Disk Usage Analyzer (GNOME)

alt text

3
  • 15
    Also called Baobab. Jul 3, 2012 at 6:46
  • baobab is awesome! (I wish it had the "delete permanently" option in addition to "move to trash")
    – pwned
    Apr 23, 2017 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, 2019 at 13:15
13

TreeSize for Unix

Filelight (KDE)

xdiskusage

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

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

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/

1
  • 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... Dec 28, 2017 at 16:02

Not the answer you're looking for? Browse other questions tagged .