Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-19-2005, 02:05 AM   #1
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Rep: Reputation: 33
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?
Old 12-19-2005, 02:16 AM   #2
Senior Member
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
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.

Old 12-19-2005, 02:16 AM   #3
Senior Member
Registered: Dec 2003
Posts: 3,161
Blog Entries: 4

Rep: Reputation: 136Reputation: 136
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
Old 12-19-2005, 02:29 AM   #4
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Original Poster
Rep: Reputation: 33
I will check tonight but by the way
Can slocate search for file using size rather than name
Old 12-19-2005, 05:51 AM   #5
Senior Member
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
if your using a package manager, delete its cache as it stores every package
Old 12-19-2005, 09:20 AM   #6
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Original Poster
Rep: Reputation: 33
rpm means redhat package manager, so where can I find its cache.
Old 12-19-2005, 01:38 PM   #7
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472
Moved: This thread is more suitable in Linux-General and has been moved accordingly to help your thread/question get the exposure it deserves.
Old 12-19-2005, 03:02 PM   #8
LQ Guru
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,240
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
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.
Old 12-19-2005, 03:09 PM   #9
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint
Posts: 9,716

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
I'm using xdu for that.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
save space and delete old packages ctagg Linux - Newbie 1 03-14-2005 05:33 PM
Can I safetly delete these? JediKnight2 Linux - General 2 08-29-2004 04:59 PM
best ways to save disk space mattl Linux - General 1 07-30-2004 05:06 PM
what files can be safely deleted to save disk space? rohan208 Linux - General 9 05-27-2004 09:06 PM
usage of disk space in a folder... Claus Linux - Software 4 09-10-2003 11:45 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration