TLDR
Enter a command. For example: nm, wat2wasm, nice, supervisorctl.

cmp

 
Compare two files byte by byte. More information: https://www.gnu.org/software/diffutils/manual/html_node/Invoking-cmp.html.
 
  • Find the byte and line number of the first difference between two files:
     
    cmp {{path/to/file1}} {{path/to/file2}}
     
  • Find the byte number and differing bytes of every difference:
     
    cmp -l {{path/to/file1}} {{path/to/file2}}

This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.