How can you hex edit a file over SSH? I have tried using hexedit, but it says command not found. Using xxd gives the hex dump of the file, but how can I actually edit the file?
ACCEPTED]
hexedit
[1] should do it.
hexedit shows a file both in ASCII and in hexadecimal. The file can be a device as the file is read a piece at a time. You can modify the file and search through it.
Alternatively, you can use vim and xxd to do the same. Check this answer
How to edit binary files with Vim?
[2].
sudo apt-get install hexedit(or whatever command your remote system uses to install software). - Eduardo Trápanivim. But if you don't have it either ... I'm out of ideas. - Eduardo Trápani