SyntaxFix
Write A Post
Hire A Developer
Questions
Another option:
sort file1 file2 | uniq -u > file3
If you want to see just the duplicate entries use "uniq -d" option:
sort file1 file2 | uniq -d > file3