Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-07-2004, 08:25 PM   #1
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, 08:48 PM   #2
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, 09:03 PM   #3
Registered: Jul 2003
Distribution: Slackware
Posts: 392

Rep: Reputation: 55

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.

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

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


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 08:51 AM
Users home directory. Permissions. jsbush Linux - Newbie 4 10-29-2003 08:13 AM
multi users on the same home directory rpinatel Linux - General 2 09-05-2003 11:55 AM
multi users on the same home directory rpinatel Linux - General 4 09-05-2003 10:22 AM
2 users, 1 mailbox and 1 home directory keevitaja Linux - Newbie 3 08-15-2002 08:20 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:38 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