Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there any other way to free up disk space on windows xp and on ubuntu 9.10 removing unnecessary files and folders/directories?

For windows, as far as I know I use Disk cleanup, Disk Defragment, and removing cookies and histories from IE browser. Is there any other way to clean up apart from these.

The ubuntu cloud server has left only 900MB of disk space. I'll just empty the directory /tmp and wondering if there is any other location to clean up.

share|improve this question
    
Better suited to SuperUser? It would automigrate if voted to close. –  Bart Silverstrim Oct 11 '10 at 13:11
    
Or ask on the ubuntu version of this site: askubuntu.com –  Phil Hannent Oct 11 '10 at 13:16
    
Thank you for redirecting to new site –  user53864 Oct 11 '10 at 13:27
    
maketecheasier.com/… –  bindbn Oct 11 '10 at 13:30

1 Answer 1

up vote 1 down vote accepted

You can use du to investigate which directories are using the most space. I typically run du repeatedly, working my way down the file hierarchy to find if I have any large files that I no longer need and have forgotten about.

du -sch /*

Then, if I see /var is taking up a lot of space, I'll du in that directory:

du -sch /var/*

... etc.

You can also clean up downloaded packages (.debs) that are cached by apt.

apt-get clean
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.