xxd does both binary and hexadecimal
bin:
bin:
xxd -b file
hex:xxd file
hexdump -C yourfile.bin
unless you want to edit it of course. Most linux distros have hexdump
by default (but obviously not all).