Managing disk usage

Linux users usually check disk space usage with df -h and a sort command. It seems tedious and slow. There is a utility called ncdu which can simplify the task, and shows a graphical interface (ncurses) of disk space usage by directories. It’s pretty useful if you’re trying to find out what directories are using your precious disk space.

Install it with apt

apt-get install ncdu

And run with:


Or specify the starting parent dir:

ncdu ~/



You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.