LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 03-12-2006, 01:27 PM   #1
me!
Member
 
Registered: Feb 2006
Distribution: Ubuntu Feisty, BeaFanatIX
Posts: 36

Rep: Reputation: 15
Deleting


Hi:

I didn't notice my rather small harddrive was filling up and it doesn't seem that RedHat KDE has a warning message about this.

I have just tried to login normally and the system won't allow me and says the drive is full.

I've got a failsafe terminal open and want to delete some files in order to get things working again. Anyone got any suggestions? I think what has me stuck is that I was not sure where the cache etc were and how to delete them ...

I am new to Linux and a bit wary of using rm!

Thanks,

me!
 
Old 03-12-2006, 01:39 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
It depends on how you have your hard disk partitioned. For simplicity, I'll assume you have everything on one large partition...

Have a look in /tmp first. Nothing in there should (love that word) be required. In your /var/log directory, do you have files with names ending in .1, .2, .3. .4? Those are archives of your system logs and are safe to delete since you've probably already seen them when they were the active logs.

Try typing du -sh /* as root and see where the large file usage is. This will list system executables and devices as well so don't delete randomly.
 
Old 03-12-2006, 01:47 PM   #3
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
Just cleaning your /tmp and /var/log directories should clean out enough to be able to boot with. After you get her booted maybe you should look into removing some programs and such you don't use.
 
Old 03-12-2006, 05:57 PM   #4
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Quote:
Originally Posted by Penguin of Wonder
Just cleaning your /tmp and /var/log directories should clean out enough to be able to boot with. After you get her booted maybe you should look into removing some programs and such you don't use.
Yup, this is a good suggestion. I wouldn't start hacking away at files with a big knife from the CLI if you're not confortable using it. Get rid of some log files so you can log in and then do the rest from your comfort area
 
Old 03-14-2006, 03:02 PM   #5
farpoint
Member
 
Registered: Sep 2004
Location: France
Distribution: Debian Sarge, Etch. FC1,2,3,4,5. Slackware 10.0. Gentoo. Kubuntu.
Posts: 193

Rep: Reputation: 30
Hi. I know with FC3, and apt installed from planetccrma, there were nearly 800MB of updates. These are archived in /var/cache/apt/archives, and can consume a lot of harddrive space. The command
"apt-get clean" without the double quotes, will clear this unneeded stuff in the case of using apt. If you are using yum, "yum clean" does the same thing.

Please post back, as it's nice to know if the problem has been solved. Nigel.
 
Old 05-29-2007, 12:40 AM   #6
me!
Member
 
Registered: Feb 2006
Distribution: Ubuntu Feisty, BeaFanatIX
Posts: 36

Original Poster
Rep: Reputation: 15
Move to Ubuntu

The cumulation of small problems - of which this was just one - with Fedora led me to switch to Ubuntu which I have found to be really streets ahead as a distro. So a happy ending for all!
 
Old 10-10-2007, 12:37 AM   #7
UhhMaybe
Member
 
Registered: Jul 2004
Location: Salt Lake City, Utah
Distribution: Absolute 12.0 Studio 64 1.3.0
Posts: 470

Rep: Reputation: 30
Cool

If YOU enjoy Ubuntu, YOPER will rock YOUR world.
 
  


Reply



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
Deleting my old /home Shienarier Linux - General 1 02-05-2005 07:36 AM
help with deleting partitions please... the snucka Red Hat 1 01-13-2005 03:22 PM
Deleting 2.6 usercsr Slackware 13 05-20-2004 01:37 AM
deleting from arrays in c McB Programming 2 04-14-2004 09:12 PM
Deleting Whole Trees Odd_Bloke Linux - Newbie 1 08-29-2003 05:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:32 PM.

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