echo "Hello" | xxd Expected output:
| 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 | | xxd command not found
sudo pacman -S vim apk add vim Installing on macOS macOS does not include xxd by default. If you have Homebrew installed, it’s straightforward: echo "Hello" | xxd Expected output: | Command