📅 2014-Sep-11 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ cdu, colors, du ⬩ 📚 Archive
du is one of those commands with a good indent, but not useful in practice. This is because it shows the size of directories, but in numbers which make it hard to quickly see which files or directories are the biggest. After all, that is the reason why this tool is mostly used.
Color DU (
cdu) is a program written by Stephane Levant that fixes this problem beautifully. Its display is similar to
du, one file or directory per line, but it shows a colorful bar graph of usage. It becomes immediately apparent which directories or files are hogging all the space in a given directory.
To install this program:
Download its source code here and unzip the contents.
Build and install it:
$ make $ sudo make install
Tried with: CDU 0.37 and Ubuntu 14.04