Friday, 2 August 2019

Linux - Diff command

While comparing the contents of two file, if you need the different records from each file then this command will be used.
$ diff [ file1 ] [ file2 ]
It displays the different records of each file.
Options :
-I : ignores the case
-w : it skips all spacing variations 
-b : skips the minor spacing differences

0 comments:

Post a Comment