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