hexdump command examples
hexdump – display file contents in ascii, decimal, hexadecimal, or octal
hexdump -e ' "%07_ad" 16/1 " %2_c" "\n"' hexdump.txt
hexdump -v -e '7/1 "%5_ad:%-5_c" "\n"' hexdump.txt
od -Ad -w16 -tc hexdump.txt
Display the input in perusal format:
"%06.6_ao " 12/1 "%3_u " "\t\t" "%_p " "\n"
Implement the -x option:
"%07.7_Ax\n" "%07.7_ax " 8/2 "%04x " "\n"