Network World
networkworld.com โบ home โบ blogs โบ unix as a second language
Using Linux hexedit and xxd commands to view and modify binary files | Network World
February 27, 2025 - The hexedit command provides a way to edit binary files, but to view and save the content in a file for later analysis without editing, try the xxd command.
Certbolt
certbolt.com โบ home โบ the xxd command explained: a must-have for linux system administrators
The XXD Command Explained: A Must-Have for Linux System Administrators - Certbolt | IT Certification News
May 13, 2026 - The minus-r flag tells xxd to read a hex dump as input and convert it back into the original binary data. This means you can take xxd output, modify it in a text editor, and then convert it back into a binary file โ effectively patching binary files using nothing but a text editor and the ...
TutorialsPoint
tutorialspoint.com โบ unix_commands โบ xxd.htm
xxd - Unix, Linux Command
Use xxd as a filter within an editor such as vim(1) to recover a binary hexdump marked between ยaย and ยzย. :ยa,ยz!xxd -r
Unix Community
community.unix.com โบ shell programming and scripting
Edit file hexadecimal with xxd - Shell Programming and Scripting - Unix Linux Community
February 5, 2016 - Hi all: I need edit a hexadecimal file. for example: 000d530: 0000 0000 0000 0000 0000 0000 493a 004f ............I:.O 000d540: 6374 2032 3820 3230 3135 2031 393a 3234 ct 28 2015 19:24 I need to cut the chain(black) and corresponding to hexadecimal from the chain at the end of file something like this serve? xxd file | sed '/493a/d' | xxd -r -p thanks
Linux Man Pages
linux.die.net โบ man โบ 1 โบ xxd
xxd(1): make hexdump/do reverse - Linux man page
Use xxd as a filter within an editor such as vim(1) to recover a binary hexdump marked between 'a' and 'z'. :'a,'z!xxd -r
Top answer 1 of 12
128
In Vim, you can type :%!xxd to turn it into a hex editor. :%!xxd -r to go back to normal mode. xxd is shipped in a Vim installation.
See here for some remarks about editing binary files with Vim (it boils down to :set binary to avoid trouble. Use only the "R" or "r" command to change text, and don't delete characters).
If you are an Emacs fan, see here for a guide on how to edit a binary file with Emacs.
2 of 12
44
You can also try GHex 2 GNOME utilities. This give you the automated hex-to-ASCII on the side, as well as the various character/integer decodes at the bottom.

(Source: googlepages.com)
A Mutable Log
tewarid.github.io โบ 2011 โบ 09 โบ 22 โบ edit-binary-files-in-linux.html
Edit binary files in Linux | A Mutable Log - GitHub Pages
September 22, 2011 - Use the xxd command by typing :%!xxd. Edit hex data.
Computer Hope
computerhope.com โบ unix โบ xxd.htm
Linux Xxd Command
June 1, 2025 - The xxd program takes a file or standard input and outputs a hex dump that uses only ASCII or EBCDIC (Extended Binary Coded Decimal Interchange Code) characters. This output hex dump can be safely emailed and reconstructed at the destination. It can also take an equivalently formatted hex dump and convert it back to binary form, allowing binary files to be edited or patched as text.
YouTube
youtube.com โบ watch
How to Use xxd โ View & Edit Hex Dumps in Linux! - YouTube
Need to inspect binary files, debug raw data, or convert text to hex? In this video, we'll show you how to use the xxd command to create hex dumps of any fil...
Published: June 12, 2026
Voxfor
voxfor.com โบ blog โบ linux guides โบ how to edit binary data using hex editors in linux
How to edit binary data using HEX Editors in Linux
May 22, 2026 - Choose a hex editor based on your workflow needs. Command-line tools like xxd or hexedit are excellent for quick tasks, while GUI tools like Bless or GHex can be more comfortable for in-depth visual analysis. Installation is generally straightforward, thanks to well-maintained repositories in most Linux distributions.

