Show Hexadecimal Numbers Of a File

后端 未结 4 1604
盖世英雄少女心
盖世英雄少女心 2020-12-03 03:22

I want to build a bash program that can read a file, like a *.bin and print all its hexadecimal numbers, as \'hex\' editors do. Where I can start?

4条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-03 04:02

    you can also use hexdump if you have it

    hexdump -x /usr/bin/binaryfile
    

提交回复
热议问题