magic file entry to understand core dumps

Marty Leisner (
Tue, 16 Jul 1996 17:49:28 PDT

Does anyone have a magic line to correctly decode a linux elf
core dump?

I looked in gdb but got pretty confused...(but it seems to understand
the core file).

It would be worthwhile to write a cheezy program to print the command
name of the core dump if file can't do it...

Member of the League for Programming Freedom (
Any sufficiently advanced technology is indistinguishable from magic
Arthur C. Clarke, The Lost Worlds of 2001