Compare two specified files

comp

  • Compare the contents of two files or sets of files.
    Use wildcards (*) to compare sets of files.
    More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/comp>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

comp {{path/to/file_1}} {{path/to/file_2}}

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