I'm need to get the process-name from a "file <core>" , and thought of useing cut.
When I run "file core", I get this line:
core: ELF 32-bit LSB core file of 'crawler' (signal 11), Intel 80386, version 1, from 'crawler'
I want to catch the word between ' ' (here: crawler). I don't know what to do, do I need to use cut? or grep?