| Command | Availability | Typical command | |---------|--------------|------------------| | hexdump | Usually pre-installed on Linux/BSD | hexdump -C file.bin | | od (octal dump) | POSIX standard | od -tx1 -Ax file.bin | | hd (hexdump frontend) | Some systems alias to hexdump | hd file.bin | | xxd (online) | Not recommended for sensitive data | |
: sudo dnf install vim-common or sudo dnf install xxd Arch Linux : sudo pacman -S vim or sudo pacman -S xxd xxd command not found
Now that you’ve fixed the error, here are practical scenarios where xxd shines: | Command | Availability | Typical command |
echo "Hello" | od -A x -t x1z -v