Linux provides a lot of command line tools for easy and practical use. Hex editor packages are some of them. In this tutorial we will look hex editor which can be used to edit files especially binary files in hexadecimal format.
Xxd is very popular hex editor between Linux application developers and system administrators. It provides basic hex editor features. More detailed can be get from following tutorial.
Dhex is very good and feature-full editor which provides console based hex edit screen. It provides menus like
We can install dhex like below.
$ sudo apt install dhex -y
Vim is actually a text editor but have ability to edit hex files. We can install vim with the following command. We can install vim like below.
$ apt install vim
After opening file we shold change the editor mode into hex with the following vim command.
Emacs is alternative text editor to Vim and it provides hex edit features like vim. We can install emacs with the following command.
$ apt install emacs
Hexed is a bit more than a hex editor. It provides getting diff of files and can be used to compare binary files. It is user interface is based on ncurses. We can install it like below.
$ apt install hexedit
Bless is the most advanced hex editor which provides a lot features. We can install bless with the following command.
$ apt install bless
It provides graphical user interface like Windows hex editors. It cat edit large data files and block devices. It supports multilevel undo-redo operations. Data can be rendered fast in screen. Enhanced data conversion table.
Hexcurse can be installed with the following command.
$ apt install hexcurse
Hexcurse provides two panes those used to show hexadecimal and ASCII format. We can use
Goto menu to go to the specified address.
Find is used to find specified string.