Xxd

Updated: September 28, 2024

Generate a hexdump of a binary file or vice versa.

xxd
  <file>                  # read from file
  <file> <name>           # write to file called <name>
  
  -c <number>             # number of bytes per line
  -l 32                   # number of bytes per line
  -p                      # plain mode
  -r                      # reverse

  -r -p <file> <name>     # revert plaintext dump back to binary && save as binary file