GNU Info

Info Node: (grub.info)cmp

(grub.info)cmp


Next: configfile Prev: chainloader Up: Command-line and menu entry commands
Enter node , (file) or (file)node

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.


automatically generated by info2www version 1.2.2.9