I got a mission to compare the content of hundreds of pair files. I have to quickly compare each pair and to provide an answer if that pair is equal (in content) or not. The files could be text or binary files. Can you help me please?
- I'm looking for a command that works on ALL UNIX \ Linux editions
- I'd prefer to use the most efficient command (in regards to time and performance)
- I'd prefer a command that supports text and binary files
- I'd prefer a command that is installed as part of the OS (not a 3rd-party)
Thank you!
diff
-man diff