Last of the Gen-X series and born in the heart of Teesside - gingerCoder can be found behind a computer screen or behind a musical instrument.
I just had to share one of those cool utilities you discover in the line of fire and then think you now just can't live without. ncdu is a semi-graphical disk utilisation system that lets you drill down to discover where your space has gone.
In the words of the authors:
ncdu (NCurses Disk Usage) is a curses-based version of the well-known 'du', and provides a fast way to see what directories are using your disk space.
[ Author's Site ]
ncdu is available in yum/dnf and apt repositories:
sudo dnf install ncdu
sudo apt-get install ncdu
Once installed you can fire it up by heading to your root partition and running the command:
Using your cursor keys you can navigate around your filesystem to drill down on the folders that are using all of your system space up. Using the d key you can select to delete files as you work around and the system will recalculate space utilised as you go.
There are many options that allow you to lock down to specific partitions or devices as well as exporting your results directly to a report instead of waiting around for it to parse your massive file and folder sets.
It just saved me a stupid amount of traversing the terminal and trying to locate where a bunch of logging data was chewing my virtual machine.
Default Placeholders, a security hole