How to get magic number of a binary file

前端 未结 6 1702
傲寒
傲寒 2020-12-06 06:13

There is a magic number associated with each binary file , does anyone know how to retrieve this information from the file?

6条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-06 07:15

    The unix file command uses magic number. see the file man page for more.(and where to find the magic file )

提交回复
热议问题