⇤ ← Revision 1 as of 2013-07-04 22:26:49
Size: 302
Comment:
|
Size: 302
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
The command with '''xxd''' the '''-r''' option can do that. | The command '''xxd''' with the '''-r''' option can do that. |
Convert hexadecimal dump to binary
The command xxd with the -r option can do that.
Sample usage:
- nano test.hex #fill it with 41 41 41 42 31 31 33 0D 0A and save
- xxd -r -p test.hex | hexdump -C # to view the conversion
- xxd -r -p test.hex test.bin # store the conversion