how to modify binary file by using combination command (dd, hexdump, sed, ...)???
hello:
I want to modify a binary file by using command, not open it in hex mode in vim.
I can use "xxd" to accomplish it on PC.
but now I want to reach this on my board, and my system doesn't have "xxd".
I have tried some combination commands, (dd, hexdump, sed, grep,...),
however it's all failed.
so, does any one know how to commands these commands(dd, hexdump, sed, grep,...or others) to accomplish my aim?? could you teach me?
any advice will be very appreciate!!thank you very much~~
ex: binary file as below: I just want to modify the red color words...
0000010: EA34 BE98 4930 3928 09EC 8903 90DB BAE2
0000020: xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
0000030: xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx
0000040: xxxx 5490 34F4 76ED DDA2 xxxx xxxx xxxx
|