-
Notifications
You must be signed in to change notification settings - Fork 5
Troubleshooting Linux
JohnClarke edited this page Jul 30, 2025
·
2 revisions
When /dev/root
hits 100% usage, your system might become unstable. This guide helps free up space quickly and safely.
Run this command to identify the top space-consuming directories:
sudo du -h --max-depth=1 / | sort -hr | head -n 10
sudo apt-get autoremove
sudo apt-get clean
rm -rf ~/.cache/*
sudo rm -rf /tmp/*
sudo truncate -s 0 /var/log/*.log
If the system is unresponsive, boot using a Live USB and free up space from there.
-
Always back up important files before deletion.
-
For critical environments, use disk management tools like ncdu or bleachbit.
Last Updated: 30/07/2025 by JC