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.

Installation #

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

Usage #

It's interactive. Use ? to view help.

$ ncdu

References #