AlferSoft Blog

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

Archive

Posts Tagged ‘binary’

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

  • Slice and rotate images with CutNRot
  • Motherboard BIOS not saving changes
  • (HTML) Table cell not inheriting style
  • Converting Visual Studio solutions to Makefiles
  • MacOS X 10.5.x (Intel) + mod_python + PIL + PyCAPTCHA notes

Tag Cloud

asterisk CDC circuit clone code config convert cut debian development electronic files firmware images install intel javascript linux make makefile mod_python optimization parallel PIC PIC16F4550 pictures port progress project prototype python rotate rxtx scanned scons scriptaculous setup socket ubuntu upload USB visual studio window wxpython x100p

Categories

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

Translator

Archives

  • 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-2010 AlferSoft Blog
Theme by NeoEase. Valid XHTML 1.1 and CSS 3.