How to insert a string into a binary file
I want insert actual string into binary file, not the acsii value of the string
Its kind of xxd -r, but I am not getting intended result. how can i do that ? |
What exactly are you trying to accomplish? Adding anything to a binary file will likely corrupt the file and make whatever program that reads the file unable to read it.
You can append text to any file with the >> shell operator. but again your file will be corrupt. Code:
echo "appended text" >> somebinary |
|
All times are GMT -5. The time now is 06:39 PM. |