Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

DOS had a command fc,which was used to compare the files in binary mode, I am a bit stuck with the concept of comparing the files.Why do we compare the files in binary mode? And how does the fb command work?

share|improve this question
ERROR Unbelievable nobody corrected you. It is FC as in File Compare. Your question should be what the heck or what specifically, is comparing files in text mode! Comparing in binary mode should be pretty obvious. It compares the 1s and 0s.. so would see if the file is identical. Text mode might miss out differences involving certain characters, those that are perhaps, non printable non graphical, something like that. If any of them are in the file. – barlop Feb 24 '12 at 18:38
@barlop: So, by using fb command, we can also compare images. That seems good. – Fahad Uddin Feb 26 '12 at 6:27
YES BUT IT IS FC MAN "FILE COMPARE" FC. Why do you keep typing fb do you use facebook every single second of your life? – barlop Feb 26 '12 at 10:40
I am really sorry I am a facebook addict. – Fahad Uddin Feb 26 '12 at 11:34
Typos happen, don't worry about it. And few users on this site are as rude about it as @barlop. He probably should have edited your question himself if he was sure it's a typo. – Daniel Beck Feb 26 '12 at 11:53
up vote 3 down vote accepted

You compare files in binary mode when the files are not text files with well-known end-of-line terminators or line-separators. An example might be some binary data files. In that case you might want to see the offset and hexadecimal values of differences rather than display some before and after versions of text.

See this question and this list

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.