Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .