mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-25 21:55:25 +02:00
xxd: reword descriptions for clarity & consistency (#1465)
This commit is contained in:
parent
cd31c69479
commit
e3c103f0ad
1 changed files with 7 additions and 7 deletions
|
@ -1,23 +1,23 @@
|
|||
# xxd
|
||||
|
||||
> Create a hexdump from a binary file or vice-versa.
|
||||
> Create a hexadecimal representation (hexdump) from a binary file, or vice-versa.
|
||||
|
||||
- Generate a hexdump from a binary file and display the output to console:
|
||||
- Generate a hexdump from a binary file and display the output:
|
||||
|
||||
`xxd {{input_file}}`
|
||||
|
||||
- Send the hexdump output to a file:
|
||||
- Generate a hexdump from a binary file and save it as a text file:
|
||||
|
||||
`xxd {{input_file}} {{output_file}}`
|
||||
|
||||
- Format output in columns of 8 octets per line:
|
||||
- Display the output with 10 columns of one octet (byte) each:
|
||||
|
||||
`xxd -c {{8}} {{input_file}}`
|
||||
`xxd -c {{10}} {{input_file}}`
|
||||
|
||||
- Display in plain hex format without any gaps:
|
||||
- Display the output in plain mode, without any gaps between the columns:
|
||||
|
||||
`xxd -p {{input_file}}`
|
||||
|
||||
- Revert a plaintext hex into binary and store it in an output file:
|
||||
- Revert a plaintext hexdump back into binary, and save it as a binary file:
|
||||
|
||||
`xxd -r -p {{input_file}} {{output_file}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue