Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

14
  • 13
    Command can be simplified as colordiff -y <(xxd foo1.bin) <(xxd foo2.bin).
    – golem
    Commented Nov 17, 2015 at 22:46
  • 3
    If you don't have colordiff, this will do the same thing without colors: diff -y <(xxd foo1.bin) <(xxd foo2.bin)
    – Rock Lee
    Commented Aug 4, 2016 at 15:25
  • 10
    If you just want to know whether both files are actually the same, you can use the -q or --brief switch, which will only show output when the files differ. Commented Oct 8, 2016 at 11:14
  • 7
    great! still, diff -u <(xxd tinga.tgz) <(xxd dec.out.tinga.tgz) | vim - will do a job good enoug
    – ribamar
    Commented Jun 1, 2018 at 14:27
  • 7
    My favorite solution, helped me a lot! With option --suppress-common-lines only different lines will be displayed
    – ololobus
    Commented Jun 13, 2019 at 11:20