LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   clearing disk space (https://www.linuxquestions.org/questions/linux-newbie-8/clearing-disk-space-683903/)

anix 11-16-2008 08:06 PM

clearing disk space
 
Is there something similar to the wizard in windows that lets you delete tmp files and shows you what programs are using alot of space and things like that so that you can clear some extra disk space? I have about only about 100 MB free out of a 10 GB partition and I don't know where it went...

syg00 11-16-2008 08:15 PM

/tmp should probably gets cleared at boot. Generally logs or /home. Try this (will take a while)
Code:

su -c "du / -x" | sort -nr | less

anix 11-16-2008 08:19 PM

Quote:

Code:

su -c "du / -x" | sort -nr | less

It just gives me a bunch of tildes and a beep.

syg00 11-16-2008 08:23 PM

Sorry, I was doing it without a Fedora system - just (badly obviously) guessing a format that might work. You need to be root, and issue the following
Code:

du / -x | sort -nr | less


All times are GMT -5. The time now is 04:52 AM.