PDA

View Full Version : Hex editor?



Alex W. Jackson
30th September 2005, 04:00 AM
Occasionally (or more often than occasionally, depending on one's line of work) the need occurs to directly edit the contents of a binary file, byte by byte. In WinDOS land we generally use a so-called "hex editor" for this purpose--a screen editor which displays the target file in columns of (usually) 16 hex bytes and otherwise generally works like a basic text editor.

So, what do Unix/Linux people use for directly peeking and poking at binary files? Is there a hex editor in Fedora Core or Extras, or does Unix offer a Better Way of doing such things?

jtang613
30th September 2005, 04:05 AM
yum install ghex

hth,
Jason

Moonlight0x0
20th June 2015, 02:19 PM
wxHexEditor (http://losst.ru/luchshij-hex-redaktor-dlya-linux)

marko
20th June 2015, 03:32 PM
I usually use 'dnf search' to find things like this


dnf search hex | grep editor




hexedit.x86_64 : A hexadecimal file viewer and editor
dhex.x86_64 : Ncurses based hexadecimal editor with a diff mode
ghex.i686 : Binary editor for GNOME
ghex.x86_64 : Binary editor for GNOME
okteta.x86_64 : Binary/hex editor
shed.x86_64 : Easy to use hex editor
tweak.x86_64 : An efficient hex editor
bless.x86_64 : High quality, full featured hex editor

stevea
20th June 2015, 05:45 PM
emacs, of course.

http://www.gnu.org/software/emacs/manual/html_node/emacs/Editing-Binary-Files.html

flyingdutchman
20th June 2015, 07:10 PM
Well, hexedit works for me, but there are many. If you are a masochist and try hard enough, then even the venerable ed or vi can do it.