using bash: write bit representation of integer to file

前端 未结 9 947
春和景丽
春和景丽 2020-12-15 20:30

I have a file with binary data and I need to replace a few bytes in a certain position. I\'ve come up with the following to direct bash to the offset and show me that it fou

9条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-15 21:12

    You might put the desired input into a file and use the "if=" option to dd to insert exactly the input you desire.

提交回复
热议问题