10.7 xxd and od: Hexdump and Octal Dump for Binary Inspection
Right, so cat and less are great until they aren’t. You try to cat a binary executable, and your terminal immediately starts screaming at you with a combination of beeps, garbled symbols, and the occasional legible string like “/lib64/ld-linux-x86-64.so.2”. It’s a mess. You’ve just angered the TTY gods. This is where our good friends xxd and od come in—they’re your polite, orderly translators for the raw, unfiltered truth of what’s actually in a file, byte by byte.