Monday, February 8, 2010

How to remove core files

A "core" file is created when a process terminates abnormally. Programmers may use these files to understand what went wrong and what the process was doing at the time of termination.

Core files are usually quite large and are the main cause of a 'file system full' error. Following is showed how to list and delete all core files from your system.
• Produce a list of all core files
find / -name core -exec ll {} \;
• Remove all core files
find / -name core -exec rm {} \;

No comments:

Post a Comment