Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

13.3.5 cmp

— Command: cmp file1 file2

Compare the file file1 with the file file2. If they differ in size, print the sizes like this:

          Differ in size: 0x1234 [foo], 0x4321 [bar]
     

If the sizes are equal but the bytes at an offset differ, then print the bytes like this:

          Differ at the offset 777: 0xbe [foo], 0xef [bar]
     

If they are completely identical, nothing will be printed.

 
 
  Published under the terms of the GNU General Public License Design by Interspire