I want to view and edit hex data of specific files in linux. What would be a good program (open source preferred) which is able to do that and is compatible with most linux distros?
3 Answers
You can use GHex or Bless. I would recommend Bless. You can edit both raw data and hexadecimal data.
If you use Ubuntu you can install it with sudo apt-get install bless
.
Here is screenshot:
-
Hmm I cant seem to be able to install it says it needs packages from unauthenticated sources.– user2505Commented Apr 20, 2014 at 12:37
-
-
Ubuntu 12.04 LTS– user2505Commented Apr 20, 2014 at 12:42
-
You may try hexeditor.jar
, a binary file editor. Since it's written in Java, it should be compatible with most operating systems.
From Need a good hex editor for Linux:
wxHexEditor is a hex editor specially for big files.
- It uses 64 bit file descriptors (supports files or devices up to 2^64 bytes , means some exabytes but tested only 1 PetaByte file (yet). ).
- It does NOT copy whole file to your RAM. That make it FAST and can open files (which sizes are Multi Giga < Tera < Peta < Exabytes)
- Could open your devices on Linux, Windows or MacOSX.
- Memory Usage : Currently ~10 MegaBytes while opened multiple > ~8GB files.
- Could operate thru XOR encryption.
- Written with C++/wxWidgets GUI libs and can be used with other OSes such as Mac OS, Windows as native application.
- You can copy/edit your Disks, HDD Sectors with it.( Usefull for rescue files/partitions by hand. )
- You can delete/insert bytes to file, more than once, without creating temp file.
You can sort on Linux to find some more here: https://en.wikipedia.org/wiki/Comparison_of_hex_editors