Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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).

share|improve this question

migrated from stackoverflow.com Jul 10 '12 at 13:40

This question came from our site for professional and enthusiast programmers.

2 Answers 2

up vote 2 down vote accepted

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
share|improve this answer

du

or

find / -size +1024000

....

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.