Dump the bytes of the input file that are different from the NUL byte in a tabular format.
cmp /path/to/input-file /dev/zero -b -l
- Evidence
- Upstream reference
- Environment
- Local host
- Compatibility
- Linux reference. macOS compatibility has not been checked for this command and execution context.
- Context
- sudo
- Native
- file-read
Dump the bytes of the input file that are different from the NUL byte in a tabular format.
cmp /path/to/input-file /dev/zero -b -l
- Evidence
- Upstream reference
- Environment
- Local host
- Compatibility
- Linux reference. macOS compatibility has not been checked for this command and execution context.
- Context
- suid
- Native
- file-read
Dump the bytes of the input file that are different from the NUL byte in a tabular format.
cmp /path/to/input-file /dev/zero -b -l
- Evidence
- Upstream reference
- Environment
- Local host
- Compatibility
- Linux reference. macOS compatibility has not been checked for this command and execution context.
- Context
- unprivileged
- Native
- file-read