GNU/Linux CentOS 7 Space CleanUp Guide
Hi! The Tutorial shows Step-by-Step How to Find and Clean Up Space Manually from Garbage on Command Line in GNU/Linux CentOS 7.x Desktop/Server.
And the CentOS 7 Cleanup is made with the Amazing Command Line Tool for Unix-like Systems: NCurses Disk Usage.
After Execution this Program will Show Up a Directory List Ordered by Disk Usage Size that will Make your Garbage Collection a Summer Breeze ;)
1. Launching Terminal
How to QuickStart with Command Line on CentOS GNU/Linux
2. Installing NCDU
Installing NCurses Disk Usage Tool
Simply play:sudo yum install ncdu
3. Scanning Disk
NCurses Disk Usage Collection.
ncdu /
Best to disconnect the unworthy Disks before Collection…
You can also specify another Target start Directory like for instance the “home” directory.4. Looking up Disk
After Navigate/Drill into Directories to Find Trashes.
Move Up-Down by Arrow Key
Drill Up-Down by Enter Key (To Drill Up select the Top “../” Choice)
Take Note of the Garbages Directories Locations…
Instructions on Cleaning Up Space.
- Be Sure that the Target is truly Garbage.
- Triple-Check your Command before Execution! (You’ll not be able to Revert the command.)
5. Freeing up Space
Now to Free up Space on CentOS
To remove Directories use:sudo rm -rf /[path/2]/myGarbageDir/
Instead, for Files:
sudo rm /[path/2]/myGarbageFile