linux - How to create a hex dump of file containing only the hex characters without spaces in bash?
How do I create an unmodified hex dump of a binary file in Linux using bash? The od and hexdump commands both insert spaces in the dump and this is not ideal.

xxd -p file

Or if you want it all on a single line:
xxd -p file | tr -d '\n'

