AlferSoft Blog

Explaining this blog in a few words since 1999
  • Home
  • Electronic Projects
  • Hardware repairing
  • Software Applications
    • Android
    • Linux FAQ
  • Software Development
    • Programming FAQ

Archive

Posts Tagged ‘hexdump’

How do I compare two binary files on Linux?

February 19th, 2010 fvicente No comments

The easiest way I found is dumping the binaries into text files using hexdump and then comparing them with your favourite program (diff, Meld, etc.). E.g.:

hexdump -C a.bin >a.txt
hexdump -C b.bin >b.txt
diff a.txt b.txt

Image source
Categories: Linux FAQ, Programming FAQ Tags: binaries, binary, compare, diff, hexdump, linux, meld
RSS
  • Google
  • Youdao
  • Xian Guo
  • Zhua Xia
  • My Yahoo!
  • newsgator
  • Bloglines
  • iNezha

Random Posts

  • Scoreboard (Part 2: Reading UART from the Bluetooth Module)
  • (HTML) Table cell not inheriting style
  • Building ffmpeg in Debian (Lenny)
  • Ubuntu Linux: How to Convert from HTML to JPG
  • Tiny Pong: More fun with ATtiny45 and VGA

Tag Cloud

android Arduino assembler atmel attiny attiny45 avr bluetooth CDC circuit code convert debian development Duemilanove electronic files firmware hack intel javascript linux module mod_python optimization parallel PIC PIC16F4550 plugin pong port progress project python rxtx scons scoreboard serial socket ubuntu upload USB VGA video wxpython

Categories

  • Electronic Projects
  • Hardware repairing
  • Software Applications
  • Software Development

Translator

Archives

  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • September 2011
  • August 2011
  • July 2011
  • April 2011
  • March 2011
  • February 2011
  • November 2010
  • August 2010
  • June 2010
  • February 2010
  • June 2009
  • May 2009
  • March 2009
  • November 2008
  • July 2008
  • June 2008
  • May 2008

Meta

  • Register
  • Log in
Top WordPress
Copyright © 2008-2012 AlferSoft Blog
Theme by NeoEase. Valid XHTML 1.1 and CSS 3.