Dump the file in hexadecimal format; remove all '.' from the output; only print the last column (relevant); print first 10 lines:
xxd Pho.jpg | tr -d "." | gawk '{print $10}' | head
Dump the file in hexadecimal format; remove all '.' from the output; only print the last column (relevant); print first 10 lines:
xxd Pho.jpg | tr -d "." | gawk '{print $10}' | head