Created
February 27, 2022 16:14
-
-
Save bgoonz/b04389b56211e051f60e161461350257 to your computer and use it in GitHub Desktop.
clean up ubuntu script
This file contains hidden or 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
#Quick clean up | |
sudo apt-get autoremove | |
sudo du -sh /var/cache/apt #clean apt cache | |
sudo apt-get autoclean | |
sudo apt-get clean | |
journalctl --disk-usage | |
du -h /var/lib/snapd/snaps #remove old versions of snap | |
rm -rf ~/.cache/thumbnails/* #clean thumbnail cache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment