clean up hard drive Ubuntu 12.04

2

1

Hi i am wondering how do I clean up and remove old files that are taking up space? In Ubuntu 12.04.

I have only ssh interface (terminal interface).

RussellHarrower

Posted 2012-07-09T23:18:01.230

Reputation: 145

Answers

2

http://www.ubuntugeek.com/cleaning-up-all-unnecessary-junk-files-in-ubuntu.html Look at: Remove partial packages, Remove unnecessary locale data, Remove "orphaned" packages.

sudo apt-get autoclean
sudo apt-get install localepurge
sudo apt-get install deborphan
sudo deborphan | xargs sudo apt-get -y remove --purge

iDexter

Posted 2012-07-09T23:18:01.230

Reputation: 36

1

du

or

find / -size +1024000

....

Andyz Smith

Posted 2012-07-09T23:18:01.230

Reputation: 111