title: How replace data in a file from a bash script?
body: <p>I need to modify the data of a binary file stored in disk, from bash script. How to do this?</p>
  
  <p>(For example, I need to open a file with 100 byte size and replace data 0x00 at 50th byte position with 0xff)</p>
  
  <p>I tried google, but unable to find the answer. Any help is appreciated.</p>
  
  <p>Thank you.</p>