/ linux

Analyze disk space usage on CentOS / RedHat with ncdu

ncdu is an interactive disk space analyzer software on Linux, which I found itself pretty convinent.


It's pretty straightforward, install dependancies, configure, make and make install. Done.

$ yum install ncurses-devel ncurses wget -y
$ wget https://dev.yorhel.nl/download/ncdu-1.13.tar.gz
$ tar -zxvf ncdu-1.13.tar.gz
$ rm ncdu-1.13.tar.gz
$ cd ncdu-1.13
$ ./configure --prefix=/usr
$ make && sudo make install


It's interacive. Use ? to view help.

$ ncdu


Birkhoff Lee

Birkhoff Lee

I'm Birkhoff Lee, a developer since the age of 7. I'm still learning cyber security and site reliability engineering. Recently having Harvard CS50.

Read More