We’ve used the _ax option to add the address field. Secondly, let’s add an address field for this: $ head -c 8 ~/Pictures/Image1.png | hexdump -e ''%04_ax -> ' 4/1 '%02X ' '\n''
‘%02X ‘: prints in hexadecimal format with two digits having leading zeros.8/1: prints 8 bytes in a line and 1 byte at a time.
Let’s look at the different parameters in it:
Here, we passed a format string along with the -e option.