Re: [OT] Magic numbers
On Monday 07 February 2011 19:10:25 Camaleón wrote:
> > a)What the magic number should be for certain types of file
>
> "man magic" says you have to look under "/usr/share/file/magic"
>
> > and b)Whether a specific file of that type has the correct magic number.
>
> "file" command, as already pointed out, can help.
Thanks, both of you who made this suggestion. That fits what I asked
exactly - and in real life I could now get the answer quickly and easily.
Sadly, the exercise requires me to do it using hexdump. Google beckons
methinks. :-(
Lisi
Reply to: