1. What is ncdu?
ncdu (NCurses Disk Usage) is an ncurses-based disk usage tool. It provides a disk usage summary in a TUI (text user interface), and also allows you to navigate between directories.
2. How to install ncdu
In order to install ncdu, you will first need to enable the EPEL repo. Once the EPEL repo is installed, ncdu can be installed with following command:
yum install ncdu
3. How to use ncdu
To use ncdu, enter the following command:
- Navigatation: use the arrow keys and return to enter a directory.
- Sort by name: n
- Sort by size: s
- Toggle between graph/percent: g