Command: Diff

Description: Find differences between two files

Usage

Print difference between two files:

diff <file1> <file2>

Print difference between two files (side-by-side):

diff -y <file1> <file2>

Print difference between two files (side-by-side with no common lines):

diff -y --suppress-common-lines <file1> <file2>