I want to build a bash program that can read a file, like a *.bin and print all its hexadecimal numbers, as \'hex\' editors do. Where I can start?
you can also use hexdump if you have it
hexdump -x /usr/bin/binaryfile