The reversed diff
We use diff to find out the different lines in 2 files, but sometimes we also need to find out the same lines in 2 files. So we need the "reversed diff"
And this command can be used as the reversed diff:
cat file1 file2 | sort | uniq -d