View Feed
group-icon
Coffee Room
Discuss anything here - everything that you wish to discuss with fellow engineers.
12940 Members
Join this group to post and comment.
Abhishek Rawal
Abhishek Rawal • Mar 22, 2014

Check Disk Space Used By Files Directly From Terminal Using 'NCDU'.

NCDU abbreviated as NCurses Disk Usage is a disk usage analyzer tool written entirely in C, most probably used when you don't have access to graphical interface & only have to deal with CLI.

Install it From source : HERE

Then open Terminal/Konsole & type :
 ncdu -x  
Example : (Here we are scanning entire root directory)
 ncdu -x / 
The scanning of files & folders will begin & you will see something like :
1
After scanning is over, you can see the space used in each & every directory under Root (/) [as we have used command to scan root] :

2
👍

Share this content on your social channels -