I would like to view the contents of a file in the current directory, but in binary from the command line. How can I achieve this?
xxd does both binary and hexadecimal.
xxd
bin:
xxd -b file
hex:
xxd file
1.4m articles
1.4m replys
5 comments
57.0k users