Last active
September 22, 2024 11:11
-
-
Save jfoclpf/923f6e83b52812acd330c346041f321b to your computer and use it in GitHub Desktop.
Clean space on Linux file system
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# check big directories | |
sudo du / -hxd 4 | sort -rh | head -10 | |
# Clean ALL docker containers if you're not using them | |
[sudo] docker system prune -a | |
# empty trash | |
rm -rf ~/.local/share/Trash/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment