hexdumpでバイナリの先頭を少しだけ表示したいとき
#hexdump
#バイナリ
例:
$ hexdump -n40 filename
引用元:
linux - How to show the first x bytes using hexdump? - Stack Overflow