Display file in hexadecimal format along with its character representation, and do not print byte offsets

od

  • Display file contents in octal, decimal or hexadecimal format.
    Optionally display the byte offsets and/or printable representation for each line.
    More information: <https://www.gnu.org/software/coreutils/od>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

od --format={{xz}} --address-radix={{n}} -v {{path/to/file}}

click the source code to copy install od on any operating system with command-not-found.com