Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

ubuntu clean up disk space

#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

#Detailed iformation
https://itsfoss.com/free-up-space-ubuntu-linux/
Source by itsfoss.com #
 
PREVIOUS NEXT
Tagged: #ubuntu #clean #disk #space
ADD COMMENT
Topic
Name
7+5 =