Feb 202010
Compare difference of two files side by side
Answer:
To compare the difference of two text files side by side, use the diff command with -y option
E.g.
# diff -y 1.txt 2.txt
a a
b b
c c
> d
As you can see, the only difference between two files is the character d.