|
-
January 19th, 2001, 05:38 PM
#1
dump files -- how to spot them.
having the `shell script crond fever`, i would like to know how can i identify a core dump file, in order to write a script to rm them automatically.
the problem is, in some of the documentation that i found those files are called either ".core" or ".dead".
i`ve runned a find on those type of files but found none.
is the name of a dump file different from distribution to distibution?
i`m afraid i`d rm something useful like kcore, perhaps ;->.
-
January 20th, 2001, 01:13 PM
#2
From what I've seen, and what is normally done in UNIX/Linux, the file is just ./core. Try this:
find / -name \*core\* -print
This will give a result of any file that has the "core" string in its file name. The backslash is needed so find will use the '*' character as a wild card character, instead of using the character as part of the name.
Good luck. -mk
------------------
If it ain't broke, fix it till it is.
If it ain't broke,
Fix it till it is.
-
January 22nd, 2001, 10:38 AM
#3
thanks mike, i`ll search for those files, following your advice, and let you know.
i wasn`t aware of the `\` with find, thanks.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|