Posts Ncdu Linux Alternate Choice For Treesize
Post
Cancel

Ncdu Linux Alternate Choice For Treesize

Treesize is a very handy software that calculate all files and directories size and more other functions in windows system. But since I am using linux system so I never get the chance to use it. But I saw how my colleague use it and thought how sad treesize does not provide linux version. So I google around and found a package call ncdu, which provides the function that I was looking for!

Let’s take a look of how ncdu look like after running it. From image, ncdu is calculated from / directory and sizes of everything uder /. ncdu

To install ncdu and start it.

1
2
3
yum install ncdu -y
cd /
ncdu

ncdu

When ncdu is started, it will start to calculate the size of all files and directories from your current location. For example, / or /home or /var.
ncdu

Right after calculation, you will see this image, which ncdu is start from /, with the final calculated information from your current location.
ncdu

Press ? to see more options.
ncdu

Use arrow keys to navigate up, down, left(previous location), right(enter cursor location), and enter to enter cursor location. ncdu

Finally, press q to exit ncdu. That’s it, enjoying!

REFERENCES:
TreeSize Professional alternative for Linux : linuxquestions

This post is licensed under CC BY 4.0 by the author.