LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Which folder in linux can be safetly delete to save disk space. (https://www.linuxquestions.org/questions/linux-general-1/which-folder-in-linux-can-be-safetly-delete-to-save-disk-space-394380/)

TruongAn 12-19-2005 01:05 AM

Which folder in linux can be safetly delete to save disk space.
 
Hello everybody.
For months ago, when I installed FC4, I have used 7 out of 10 GB
But now, I have only 500MB left.
I don't know how it could be so fast. All of my data is put on another partition.
I put all of linux folder include / in a single partition.
I don't know what cause that problem, I have crossover intalled but I cost only 400MB (and it is the largest software in my box).
The /home dir is 28MB
What else can cost me that amount of this space?

IBall 12-19-2005 01:16 AM

Make sure that your logs in /var are being rotated correctly.

Make sure that the temporary files are being deleted. I think it is either done on shutdown or powerup.

--Ian

vharishankar 12-19-2005 01:16 AM

Check your error logs /var/log directory to see if errors have accumulated in the files and are eating up disk space.

Once my .xsession-errors file in my home directory grew so big that it ate up several Gigabytes.

Just search for all hidden files as well as log files.

Edit: Oops too late, too slow to type this :)

TruongAn 12-19-2005 01:29 AM

I will check tonight but by the way
Can slocate search for file using size rather than name

heema 12-19-2005 04:51 AM

if your using a package manager, delete its cache as it stores every package

TruongAn 12-19-2005 08:20 AM

heema:
rpm means redhat package manager, so where can I find its cache.

XavierP 12-19-2005 12:38 PM

Moved: This thread is more suitable in Linux-General and has been moved accordingly to help your thread/question get the exposure it deserves.

farslayer 12-19-2005 02:02 PM

These two commands can be useful for tracking down where all your space went...

df -h

du -sh /[!d,p]*


May help you close in on where the space is being used.

jlliagre 12-19-2005 02:09 PM

I'm using xdu for that.


All times are GMT -5. The time now is 12:45 PM.