Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

ubuntu clean up disk space

sudo apt-get autoremove &&
sudo du -sh /var/cache/apt &&
sudo apt-get clean &&
sudo apt-get remove --purge &&
sudo journalctl --vacuum-time=1d &&
rm -rf ~/.cache/thumbnails/*
Source by askubuntu.com #
 
PREVIOUS NEXT
Tagged: #ubuntu #clean #disk #space
ADD COMMENT
Topic
Name
7+2 =