xxd
Create a hexadecimal representation (hexdump) from a binary file, or vice-versa.
=> More information.
- Generate a hexdump from a binary file and display the output:
xxd {input_file}
- Generate a hexdump from a binary file and save it as a text file:
xxd {input_file} {output_file}
- Display a more compact output, replacing consecutive zeros (if any) with a star:
xxd -a {input_file}
- Display the output with 10 columns of one octet (byte) each:
xxd -c {10} {input_file}
- Display output only up to a length of 32 bytes:
xxd -l {32} {input_file}
- Display the output in plain mode, without any gaps between the columns:
xxd -p {input_file}
- Revert a plaintext hexdump back into binary, and save it as a binary file:
xxd -r -p {input_file} {output_file}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
=> CC-BY
Proxy Information
- Original URL
- gemini://freeshell.de/tldr/xxd.gmi
- Status Code
- Success (20)
- Meta
text/gemini;lang=en-GB
- Capsule Response Time
- 106.817134 milliseconds
- Gemini-to-HTML Time
- 0.840145 milliseconds
This content has been proxied by September (3851b).