Output the byte numbers and values of every difference

cmp

  • Compare two files byte by byte.
    More information: <https://www.gnu.org/software/diffutils/manual/html_node/Invoking-cmp.html>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

cmp --verbose {{path/to/file1}} {{path/to/file2}}

click the source code to copy install cmp on any operating system with command-not-found.com