Re: [OT] Magic numbers
On Thursday 10 February 2011 17:27:27 Lisi wrote:
> 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. :-(
Sorry :-( I clearly needed the break I have just had.