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?
vi your_filename
hit esc
Type :%!xxd to view the hex strings, the n :%!xxd -r to return to normal editing.
:%!xxd
:%!xxd -r