Linux – Comparing files

To compare files and directories we use diff. Some useful options are:

  • -c NUM       output NUM of lines before and after the lines differing. 3 lines is default
  • -r                   recursively to compare subdirectories
  • -i                    ignore case differences in file contents
  • -w                  ignore white space differences

, <span>Linux – Comparing files</span>, KandZ

21150cookie-checkLinux – Comparing filesLinux – Comparing files

Related posts

Leave a Comment