Step 1/1: Compare byte by byte

cmp compares two files byte by byte and reports the first difference; identical files print nothing. cmp -s stays silent and answers with its exit status, for scripts.

$ cmp a.bin b.bin
Fundamentalscmp
The first different byte
Use cmp to compare firmware-a.bin and firmware-b.bin and find the first byte that differs.
commNext lesson:split