/proc/sys/kernel/core_pattern And voilà, you'll find your cores easily in /cores. Much easier than find ~ -mtime 0 -name 'core*' !... "> /proc/sys/kernel/core_pattern And voilà, you'll find your cores easily in /cores. Much easier than find ~ -mtime 0 -name 'core*' !... "> /proc/sys/kernel/core_pattern And voilà, you'll find your cores easily in /cores. Much easier than find ~ -mtime 0 -name 'core*' !... "> Organizing core dumps – colin@colino.net

Organizing core dumps

Tired of looking for core files in your whole $HOME (because apps do chdir, and cores are by default in $PWD)?

mkdir /cores; chmod go+w /cores; echo « /cores/%e.%p.core » > /proc/sys/kernel/core_pattern

And voilà, you’ll find your cores easily in /cores. Much easier than find ~ -mtime 0 -name ‘core*’ !