HexDiff(1)
π HexDiff π
okay bestie so you found yourself a whole hexdiff manual page, the User Commands one, and honestly? iconic. let's get into it. π¦
β¨ NAME β¨
hexdiff β it's a 'hexadecimal visual diff' for binary files. yes. for binary. we're looking at raw bytes together, hand in hand. π
πΈ SYNOPSIS πΈ
hexdiff [-V] [-h|-?] file1 file2
π DESCRIPTION π
okay so hexdiff shows you a horizontally splitted hexadecimal view of the files you're comparing. side by side, bestie. like a little byte-versus-byte fashion show. π
the right column shows the ASCII view of the files. and at the bottom there's a status bar showing the filename, its size, and the current offset. π«Ά
the current view gets marked with '**' on the left side of the view β that's how you know which one is the main character right now.
and when you move the cursor into the file, differences show up by 'inverting' colors. yes, color-flipping as a diff highlight. it's giving dramatic reveal. π₯
β¨ OPTIONS β¨
-Vβ shows the program version. short and sweet, a lil flex. β-h|-?β shows the program help. when in doubt, ask. π§-Xβ help for debugging your~/.hexdiffrc, or the rc file parser. deep lore mode. π
π¦ KEYBOARD COMMANDS π¦
xβ Exit the program.qβ Exit the program.uβ Move cursor up for 1 line, or 4, inside the 2 files.jβ Move cursor up for 1 line, or 4, inside the 2 files.Uβ Move cursor up for 1 line, or 4, inside the 2 files.dβ Move cursor down for 1 line, or 4, inside the 2 files.kβ Move cursor down for 1 line, or 4, inside the 2 files.Dβ Move cursor down for 1 line, or 4, inside the 2 files.<space>β Move cursor for several lines. (Depends on the display size)0β Move cursor at the beginning.<home>β Move cursor at the beginning.$β Move cursor to the end of the most little file of both.gβ Move cursor to the offset input.Hβ Switch offset display between decimal and hexadecimal. (initial mode is settable)iβ Displayfstatfor the current file selected.Iβ Displayfstatfor both filess.Aβ Open the (currently) experimental AsciiViewer. Maybe coredump with no request.<tab>switch as usual.
bestie. read that again. "Maybe coredump with no request." it's experimental, okay, we love her anyway. π
^Oβ Open a new file into the main view.Qto cancel,<Enter>to validate,?for help.nβ Move cursor to next difference between files.<tab>β Switch the current view.?β Display the pop-up help view about the main commands.
π CONFIG FILE π
$HOME/.hexdiffrc
that's it. that's the config file. put it in your home, live your truth. β¨
π SEE ALSO π
diff (1), cmp (1), /usr/share/doc/hexdiff/examples/hexdiff.rc
π BUGS π
if you resize yourxtermwindowshexdiffmay become unstable for a few.
and also: the end of file display may be broken if files are from differents sizes. yeah. we said what we said. π
π AUTHORS π
Thierry Boudet aka tTh <tboudet@free.fr>
this manual page was written by Tanguy Herrmann <dolanor@evereska.org>, for the Ubuntu GNU/Linux system (but may be used by others). π«Ά
β WEBSITE β
<http://tboudet.free.fr/hexdiff/>
π THANKS π
this software is dedicated to the trollers kamarades from the HardStory team of CULTe, without whom nothing would have been possible. literally nothing. fr fr.
πΈ COPYRIGHT πΈ
Copyright Β© 2008 Thierry Boudet License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
this is free software: you are free to change and redistribute it.
there is NO WARRANTY, to the extent permitted by law.
okay that's the whole thing, bestie, every last byte of it. π
and a lil sign-off from the bottom of the page: this whole vibe came from the TontonTh tools, dated February 2009, and it's filed under HexDiff(1). slay. πβ¨
π¦ where this page comes from
- nixos 26.05: visual-hexdiff 0.0.53
- nixpkgs unstable: visual-hexdiff 0.0.53
- ubuntu jammy: hexdiff 0.0.53-0ubuntu4
- ubuntu noble: hexdiff 0.0.53-0ubuntu4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms