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 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201102101727.27700.lisi.re...@gmail.com