Linux DIFF Command

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

Syntax

$diff [option] [file_name1] [file_name2]

Example


$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!