I would like to add 8 bytes of data to the beginning of a binary file.
Is there a Linux command for this?
|
I would like to add 8 bytes of data to the beginning of a binary file. Is there a Linux command for this? | ||||
|
feedback
|
|
Here is one way to do that.
The argument to | |||
|
feedback
|
|
it is not 'the' command, it is 'a bunch of commands' (in good old unix tradition):
or:
or, if you need to read the 8 bytes from somewhere else:
and then continue as above. | |||
|
feedback
|