Install bvi in ubuntu
Open the terminal and run the following command
sudo apt-get install bvi
The screen is divided into four areas, symbolized by four different colors. The magenta area contents the addresses in hexadecimal notation. The green area contents the values of the edited file in hexadecimal notation. The red area contents the same bytes in ASCII representation. The yellow status line displays on the left side the current status messages and on the right site the current position of the cursor and the value of the byte on this address in octal, hexadecimal, decimal and ASCII notation.
You can toggle between the Hex and ASCII value of the same byte by pressing the TAB key both in command and input mode.
Command Line Options
There are some additional command line options in bvi:
This command provides a means for collecting a series of ex (colon) commands into a script file, then using this file to edit other files. Since there is no binary stream editor bsed, you can use this option to make several global changes in a binary file. You can do this of course with the source command (:so file) from within bvi too.
This option causes bvi to load a file not from start but from address begin.
This option causes bvi to load a file not till end but till address end.
This option causes bvi not to load the complete file but only size bytes. This option can also be used to read a file reported with a length 0 like some files in the Linux /proc directory.
Incoming search terms:
- binary file editor
- ubuntu binary editor
- binary editor ubuntu
- bvi binary
- how to read binary file in Ubuntu
- read binary file ubuntu 14 04