Skip to content

Instantly share code, notes, and snippets.

@pvojnisek
Last active December 3, 2021 19:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pvojnisek/3a04e0786850b8db3861770e771a76ef to your computer and use it in GitHub Desktop.
Save pvojnisek/3a04e0786850b8db3861770e771a76ef to your computer and use it in GitHub Desktop.
Cleaning unnecessary files from the system
sudo apt-get autoremove
sudo du -sh /var/cache/apt
sudo apt-get autoclean
sudo apt-get clean
du -sh ~/.cache/thumbnails
rm -rf ~/.cache/thumbnails/
sudo journalctl --vacuum-size=500M
#if [[ which docker && docker --version ]]; then
# sudo docker image prune -a -f
#fi
echo gist location: https://gist.github.com/pvojnisek/3a04e0786850b8db3861770e771a76ef
@pvojnisek
Copy link
Author

pvojnisek commented Nov 16, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment