Find large directories and files on Debian or Ubuntu with ncdu
Time to stop using the find
command to search for large directories or files on your servers. There's a neat disk usage analyser tool called ncdu
that you should definitely give a try!
Install ncdu
using apt-get
on Debian or Ubuntu:
apt-get install ncdu
To search for large directories or files starting from root, use:
ncdu /
Use your arrow keys to navigate and press d
to delete a directory or folder. Handy right?!