How To Check Disk Space Usage Using Ncdu in Linux

NCurses Disk Usage or Ncdu is a free and open source disk usage analyzer tool for Linux. Using this Ncdu tool you can easily find which files and folders are taking up more space on your system. It is a curses based version of du tool. It is simple and fast disk usage checker tool.

Ncdu tool

How to install Ncdu NCurses Disk Usage on Ubuntu Linux

Ncdu is available in the default Ubuntu repositories. You can easily install it via the apt command. Open the terminal command-line application (ctrl+alt+t) and run below command one by one to install the latest version of NCurses Disk Usage tool on your Ubuntu Linux system.

sudo apt update
sudo apt install ncdu

How to Check Disk Space Usage:

In the terminal application run below command to check the used space.

ncdu

It will take some time to check, analyze and display the output.

Also Read:  How to install Nginx Web Server on Ubuntu

Ncdu scanning

Use the up and down arrow keys to move between the lists. Select the directory by pressing the ENTER key.

To view the usage size in detail press i key.

Ncdu details

For the complete usage details run below command.

man ncdu

That’s it.

If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on X (Twitter) and Facebook.



Leave a Reply