How Do I Use Beyond Compare: Introduction to Beyon
  • Forty things about Beyond Compare
  • Acknowledgements
  • Learn Beyond Compare in 5 Minutes
    • Quickstart: open two directories
    • Quickstart: open two files
    • Quickstart: move a file
    • Text Compare: understand the display
    • Downloads
  • Text Compare
    • How to use Beyond Compare for Text Compare
    • In Beyond Compare, what are unimportant differences?
    • Why no word-wrap ??
    • How to use Beyond Compare to confirm 100% replacement
    • Ignore Trivial Differences, Like Timestamps
  • Git
    • How to use Beyond Compare with Git
    • Do a roll-back to peek at your old code
    • Quickstart: Folder Merge
    • Why merge three folders?
    • Beyond Compare Three-Way Folder Merge Symbols Explained
    • How to compare two commits, both old, in Git
    • Git mergetool: merging three files.
    • How to recover an older version of your code with Git and Beyond Compare
    • Peeking under the hood at how Git does its thing
    • Getting better at Git
    • Find changes since last commit
    • Patches
    • How to configure Visual Studio to use Beyond Compare for Version Control
  • Scripts and the Command Line
    • How to use Beyond Compare in the Terminal
    • How to do an automatic backup every day
    • Write a Batch File That Will Start Several Syncs Simultaneously
    • Write a batch file that will start several text compares automatically
    • TL; DR
  • Table Compare
    • Quickstart: open a couple of Excel spreadsheets
    • Example: finding missing items in a pair of spreadsheets
    • Keys
    • Mismatched Columns
    • Longer example, opening .csv files
    • How to remove columns from a spreadsheet
    • Aligned vs Unaligned
    • Example: List of City Trees
  • Sync / Folders
    • Backup your entire computer (Part One)
    • Backup your entire computer (Part Two)
    • Backup, advanced
    • RegEx Examples: Filename Alignment Overide
    • Scan a lot or a little
  • Other
    • Peek
    • Binary
    • Undo
    • Colors
    • How to compare images
    • Report: Text Compare
    • Report: Table Compare
    • Looooonnnnngggg lines...
    • Binary: How to see the 1's and 0's
    • How to write your first script
    • How to find redundant or duplicate files
    • Minor Edge Cases
    • Shortcut Key
    • How to ignore parts of your file
    • Folder System Context Menus
    • About Evan Genest
Powered by GitBook
On this page

Was this helpful?

  1. Other

Binary: How to see the 1's and 0's

This might be good for teachers or Comp Sci 101.

PreviousLooooonnnnngggg lines...NextHow to write your first script

Last updated 6 years ago

Was this helpful?

Let's look at the word Hello typed twelve times and saved as plaintext file in Linux (left), and in Windows (right). (You can download this pair of files at the link above.)

Even though the files both contain the same 12 hellos, the filesize on the left is smaller. Interesting! To see what's going on, check the same files using a HexCompare session. (From a FolderCompare session rightclick the files and do OpenAs->HexCompare. Or do from the pulldown menu: Session->NewSession->HexCompare and drag over with a mouse two files of twelve_hellos.txt)

On the left, hex compare shows us what the machine sees in your file (0123456789abcdef to represent the 001011010101110100011101010101010110!) And on the right, in pink, for the benefit of humans, we see a UTF translation of this into actual characters. I apologize: this is the Windows file. It got switched while I was making the image examples.

When you start learning how to use BC it becomes like a magnifying glass. It's like a magnifying glass because it gives you a license to walk around and inspect things (or even set them on fire in sunlight?). This has obvious applications as digital forensic tools and in minute scanning of sectors for malware and security problems.

3KB
compare-binaries.zip
archive