2
votes
4answers
3k views

How do you write specific bytes to a file?

Given a file myfile with the following contents: $ cat myfile foos A hexdump of the file gives us the contents: $ hexdump myfile 6f66 736f 000a Currently, I can create the file by specifying the ...