Menu Close

Ubucleaner

This is a bash script you can use to keep your computer clean.

Features:

– Clean apt cache
– Remove config files left from uninstalled .deb packages (it happens if you don’t use the –purge switch with apt-get)
– Remove every kernel except the one you are using
– Empty the trashes of every user (including root)

 

It uses apt and the kernel removing thing searches for ubuntu-only packages, so it can’t work on non-debian system and the result is undetermined for other debian-based system, but you can still use the other features of the script (you’ll just have to comment the parts you don’t want).

Open a Termainal (Applications->Accessories->Terminal) and copy+paste the following line:

wget http://www.opendesktop.org/CONTENT/content-files/71529-ubucleaner.sh

Then copy+paste:

sudo chmod +x 71529-ubucleaner.sh

To run the script:

./71529-ubucleaner.sh

 

 

 

20 total views, 2 views today

2
Leave a Reply

avatar
0 Comment threads
2 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
tinuzvlad Recent comment authors

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  Subscribe  
newest oldest most voted
Notify of