Shell view the first and last N bytes of a file in binary format

Shell view the first and last N bytes of a file in binary format

First 3 bytes:hexdump <file> | head -n 3
Last 3 bytes :hexdump <file> | tail -n 3

Comments

Popular posts from this blog

Python Receiving and parse JSON Data via UDP protocol

ubus lua client method and event registration code demo/example