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?
You can open emacs (in terminal mode, using emacs -nw for instance), and then use Hexl mode: M-x hexl-mode.
emacs -nw
M-x hexl-mode
https://www.gnu.org/software/emacs/manual/html_node/emacs/Editing-Binary-Files.html