๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ linux-unix โ€บ xxd-command-in-linux
xxd Command in Linux - GeeksforGeeks
February 13, 2026 - The xxd command allows you to specify an offset, effectively skipping a certain number of lines or bytes in the input file when generating a hexadecimal dump.
๐ŸŒ
OnWorks
onworks.net โ€บ home
xxd
Run online xxd in free Ubuntu online, free Fedora online, free Windows online emulator or free MACOS online emulator by OnWorks
People also ask

Can I use xxd to edit binary files directly?
Yes, xxd allows for limited editing of binary files by modifying the hex dump representation and then reverting the changes to binary.
๐ŸŒ
simplilearn.com
simplilearn.com โ€บ home โ€บ resources โ€บ software development โ€บ xxd command in linux: a must-know for system administrators
XXD Command in Linux: A Must-Know for System Administrators
Is xxd available on all Linux distributions?
The xxd command in Linux is commonly available across various distributions and is a part of the Vim package.
๐ŸŒ
simplilearn.com
simplilearn.com โ€บ home โ€บ resources โ€บ software development โ€บ xxd command in linux: a must-know for system administrators
XXD Command in Linux: A Must-Know for System Administrators
๐ŸŒ
Linux Man Pages
linux.die.net โ€บ man โ€บ 1 โ€บ xxd
xxd(1): make hexdump/do reverse - Linux man page
xxd creates a hex dump of a given file or standard input. It can also convert a hex dump back to its original binary form. Like uuencode(1) and uudecode(1) it allows the transmission of binary data in a 'mail-safe' ASCII representation, but has the advantage of decoding to standard output.
๐ŸŒ
Medium
medium.com โ€บ @tk512 โ€บ xxd-command-line-hex-wizardry-f0b0b4106624
XXD โ€” Command line hex wizardry
January 20, 2016 - Due to the little-endian nature of the computer I am using, itโ€™ll be stored as 3930, so letโ€™s do a dirty command to find the offset. $ xxd -a -g 0 ./test | grep 3930 0000f30: 7dfc488975f0c745ec393000008b75ec }.H.u..E.90โ€ฆu.
๐ŸŒ
OnWorks
onworks.net โ€บ home โ€บ os distributions โ€บ programs โ€บ xxd online
xxd - Online in the Cloud
This is the command xxd that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
๐ŸŒ
Linux Handbook
linuxhandbook.com โ€บ xxd-command
Use XXD Command in Linux
June 3, 2024 - Like any other normal command, it takes data from the standard input or file and gives hexadecimal output. It can also do the opposite and convert hex to normal characters. And in this tutorial, I will walk you through different examples of how to use the xxd command in Linux.
๐ŸŒ
Computer Hope
computerhope.com โ€บ unix โ€บ xxd.htm
Linux Xxd Command
June 1, 2025 - The first command specifies the length in decimal (20), the second specifies the length in hexadecimal (0x14), and the third specifies the length in octal (024). Below shows this in use on a two paragraph lorem ipsum file saved as UTF-8 (8 bits per character). ch@computerhope ~ : xxd -l 20 lorem.txt 00000000: 4c6f 7265 6d20 6970 7375 6d20 646f 6c6f Lorem ipsum dolo 00000010: 7220 7369 r si ch@computerhope ~ : xxd -l 0x14 lorem.txt 00000000: 4c6f 7265 6d20 6970 7375 6d20 646f 6c6f Lorem ipsum dolo 00000010: 7220 7369 r si ch@computerhope ~ : xxd -l 024 lorem.txt 00000000: 4c6f 7265 6d20 6970 7375 6d20 646f 6c6f Lorem ipsum dolo 00000010: 7220 7369 r si
๐ŸŒ
Namehero
namehero.com โ€บ blog โ€บ how-to-use-the-xxd-command-in-linux
How to Use the xxd Command in Linux
September 8, 2025 - For example, I have a script file on my server, and if I feed it into xxd as shown above, it looks like this: ... You can see that the command shows 16 bytes at a time, starting with the offset on the left-hand column. It then shows me the ASCII representation of those bytes in the right-hand column.
Find elsewhere
๐ŸŒ
Simplilearn
simplilearn.com โ€บ home โ€บ resources โ€บ software development โ€บ xxd command in linux: a must-know for system administrators
XXD Command in Linux: A Must-Know for System Administrators
1 month ago - Unlock the secrets of XXD Command in Linux! This quick guide offers insider tips for mastering this powerful tool. Boost your Linux skills now!
Address: 5851 Legacy Circle, 6th Floor, Plano, TX 75024 United States
๐ŸŒ
TutorialsPoint
tutorialspoint.com โ€บ unix_commands โ€บ xxd.htm
xxd - Unix, Linux Command
Python TechnologiesDatabasesComputer ... MarketingSoftware QualityManagement Tutorials View All Categories ... xxd creates a hex dump of a given file or standard input....
๐ŸŒ
O'Reilly
oreilly.com โ€บ library โ€บ view โ€บ linux-pocket-guide โ€บ 9780596806347 โ€บ re28.html
xxd [options] [files] - Linux Pocket Guide [Book]
February 18, 2004 - xxd produces three-column output by default: file offsets, the data in hex, and the data as text (printable characters only).
Author: Daniel J. Barrett
Published: 2004
Pages: 200
๐ŸŒ
Dustin John Pfister
dustinpfister.github.io โ€บ 2021 โ€บ 11 โ€บ 19 โ€บ linux-xxd
The Linux xxd command for dumping hex to the standard output rather than text | Dustin John Pfister at github pages
November 19, 2021 - In this section I will be going over a few quick examples of the Linux xxd command that can be done in the console real quick just for the sake of getting a feel for how this command works. There is always looking into the man page when it comes to learning about all the various options that there are to work with, but for now many of these basic examples just use the -p option.
๐ŸŒ
HowtoForge
howtoforge.com โ€บ home โ€บ linux xxd command tutorial for beginners (with examples)
Linux xxd Command Tutorial for Beginners (with Examples)
Each line is preceded by a line number in hexadecimal and followed by an ascii (or ebcdic) representation. The command line switches -r, -p, -i do not work with this mode. ... As you can see, the xxd command is useful if you deal in hex and binary file contents.
๐ŸŒ
LinuxConfig
linuxconfig.org โ€บ home โ€บ linux xxd command explained
Using xxd Command in Linux: Installation & Guide
September 22, 2025 - In this tutorial, we saw how to install and use the xxd command on a Linux system. xxd is a command line program that creates a hexadecimal dump of a binary file. This allows us to glean information that would otherwise be obscured, and also ...
๐ŸŒ
X-CMD
x-cmd.com โ€บ install โ€บ xxd
View Binary and Patch Back? xxd Hex Dump and -r Reverse to Binary | via X-CMD | xxd
Use xxd -l 16 file to view the first 16 bytes โ€” the magic number is right there. More raw than the file command, useful when file mis-identifies or you want to verify an unknown format.
๐ŸŒ
IPA
venea.net โ€บ man โ€บ xxd(1)
xxd manual - make a hexdump or do the reverse.
Download xxd(1).txt | manual plain text file ยท Downloading man page ... Find manuals ยท
๐ŸŒ
Coding Challenges
codingchallenges.fyi โ€บ build your own xxd
Build Your Own Xxd | Coding Challenges
As we did in the build your own tar coding challenge weโ€™re going to use a tarball as an example, you can create it by running the following commands: echo "File 1 contents" >> file1.txt echo "File 2 contents" >> file2.txt echo "File 3 contents" >> file3.txt tar -cf files.tar file1.txt file2.txt file3.txt ยท In this step your goal is to dump a tarball as hex. To do this youโ€™ll need to open the file in binary mode, read it in and dump the contents to standard out as hex. By default xxd prints the output in three sections.
๐ŸŒ
Analytics Vidhya
analyticsvidhya.com โ€บ home โ€บ understanding the xxd command in linux
Understanding the xxd Command in Linux
June 26, 2024 - This command starts the hex dump at offset 0x100 (256 in decimal). ... The xxd command is a robust and flexible tool for anyone needing to examine or modify binary file contents on a Linux system.