LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-07-2004, 09:25 PM   #1
draven
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Rep: Reputation: 0
Question What are core files in the users home directory


I'm running mandrake 9.2 not sure if this is specific to this issue but anyways. In my user's home directory /home/draven I have been finding a bunch of "core.xxxx" files the x = a number they don't appear to be sequential and range in size drastically from about 1 meg to 200+ megs. Are these necessary files, or is it safe for me to delete them?
 
Old 03-07-2004, 09:48 PM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
You can delete them, but they're dumps of crashing apps. Used for diagnostics. I think it's a snapshot of what was going on in 'core' (RAM) when an app barfs. You shouldn't be having too many crashing apps, so it may indicate another problem. There's also a way to prevent core dumps when stuff crashes but I've never looked into it and forget what it is. Try googling for it if you're interested.
 
Old 03-07-2004, 10:03 PM   #3
lyle_s
Member
 
Registered: Jul 2003
Distribution: Slackware
Posts: 390

Rep: Reputation: 53
Use:

ulimit -Sc0

to prevent them from appearing at all. Put it your ~/.bashrc so it runs every time you log in.

It's unsafe to have them kicking around; they can contain passwords and other information that a cracker might be interested in.

Lyle
 
Old 03-07-2004, 10:56 PM   #4
draven
LQ Newbie
 
Registered: Mar 2004
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks for the information.
 
  


Reply


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Users can only see home directory bluenix Linux - General 20 03-12-2005 09:51 AM
Users home directory. Permissions. jsbush Linux - Newbie 4 10-29-2003 09:13 AM
multi users on the same home directory rpinatel Linux - General 2 09-05-2003 12:55 PM
multi users on the same home directory rpinatel Linux - General 4 09-05-2003 11:22 AM
2 users, 1 mailbox and 1 home directory keevitaja Linux - Newbie 3 08-15-2002 09:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration