$ hd test.bin 00000000 e8 06 00 00 00 74 65 73 74 0a 00 b8 04 00 00 00 |.....test.......| 00000010 bb 01 00 00 00 59 ba 05 00 00 00 cd 80 c3 |.....Y........|
hd是应该能够读取hex,但如何安装它?
这是我的尝试:
$# yum install hd Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirror01.idc.hinet.net * base: mirror01.idc.hinet.net * epel: mirror.bjtu.edu.cn * extras: mirror01.idc.hinet.net * updates: mirror01.idc.hinet.net Setting up Install Process No package hd available. Nothing to do
hexdump(1)在util-linux包中。