Ubuntu - do some cleaning

Ubuntu - do some cleaning

Posted By: pmietlicki

Published to Linux on Jun 04, 2015

For those that have some space problems, there's a tool called ubuntu tweak (http://blog.ubuntu-tweak.com)

To purge apt cache :

sudo apt-get autoclean
sudo apt-get clean

Empty trash :

rm -r -f ~/.local/share/Trash/files/* 

To remove some unused configuration files, try :

sudo dpkg --purge $(COLUMNS=200 dpkg -l | grep "^rc" | tr -s ' ' | cut -d ' ' -f 2) 

Some resources



Tags: clean, linux, ubuntu