Linux DIFF Command

the diff command is used to find the difference between two compare two files,gives location of mismatch as well as suggests changes to make two files identical.


$diff [option] [file_name1] [file_name2]


$diff file1.txt file2.txt
Share Share on Facebook Share on Twitter Share on LinkedIn Pin on Pinterest Share on Stumbleupon Share on Tumblr Share on Reddit Share on Diggit

You may also like this!