Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I need to edit and navigate through a rather large binary file (~8 GB) in Linux. I'd use Hiew if I was on Windows, are there any similar tools for Linux?

Preferably GNOME applications, but terminal ones will do as well.

share|improve this question

6 Answers 6

up vote 4 down vote accepted

I've been using Curses Hexedit, it doesn't seem to care of the filesizes and I have often edited even my harddisks directly with it.

share|improve this answer

Check the Linux column at this Comparison of hex editors.
And a Comparison of 5 Hex Editors for Ubuntu.
Refers LFHex,

lfhex can view files over 4gigs in size (if the OS supports large file offsets). Using a paged i/o abstraction file open times are invariant with file size, a 2gig file opens just as fast as a 2k file.

share|improve this answer
    
I tried lfhex, but it seems to be lacking even a simple search function. –  Art Sep 22 '09 at 22:10
    
there are more editors in the other two links. –  nik Sep 23 '09 at 4:40

wxHexEditor

There is no good hex/disk editor for linux. So I build one for myself... It's open source and can open files up to "exabyte".

enter image description here

share|improve this answer
    
+1 Since you contribute back to the community, GPL:ed app hosted on SourceForge :) –  Johan Nov 21 '11 at 21:41
    
+1, The blog post comparing 5 Unix editors also lists wxHexEditor along with LFHex. Community++ :-) Keep up the good work! –  nik May 28 '13 at 17:55

I have not tried an 8GB file, but vim has always worked for me :%!xxd converts to hex, :%!xxd -r converts back. I've also used okteta, but it's a KDE app. Check out this page.

share|improve this answer

there is bview that may do that

share|improve this answer

Art: lfview does have a search function, counter-intuitively called "Conversion Assistant" in the "View" menu. That function converts ascii to hex, for example, and searches for the result.

lfview can handle files larger than RAM, while bvi/bview is limited by available memory.

share|improve this answer
    
bvi (version 1.3.2-2) on my Ubuntu Precise on amd64 actually does not work properly with files larger than 2G (actually 4K smaller than that): although it correctly recognizes the length of file, everything starting from the offset 0x7ffff000 is shown as 00s. –  ivant Dec 18 '12 at 23:03

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.