TLDR
Enter a command. For example: tree, choco apikey, color, if, choco feature.

comp

 
Compare the contents of two files or sets of files. Use wildcards (*) to compare sets of files. More information: https://docs.microsoft.com/windows-server/administration/windows-commands/comp.
 
  • Compare files interactively:
     
    comp
     
  • Compare two specified files:
     
    comp {{path/to/file_1}} {{path/to/file_2}}
     
  • Compare two sets of files:
     
    comp {{path/to/directory_1/*}} {{path/to/directory_2/*}}
     
  • Display differences in decimal format:
     
    comp /d {{path/to/file_1}} {{path/to/file_2}}
     
  • Display differences in ASCII format:
     
    comp /a {{path/to/file_1}} {{path/to/file_2}}
     
  • Display line numbers for differences:
     
    comp /l {{path/to/file_1}} {{path/to/file_2}}
     
  • Compare files case-insensitively:
     
    comp /c {{path/to/file_1}} {{path/to/file_2}}
     
  • Compare only the first 5 lines of each file:
     
    comp /n={{5}} {{path/to/file_1}} {{path/to/file_2}}

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.