SyntaxFix
Write A Post
Hire A Developer
Questions
You could try..
comm -13 <(sort file1) <(sort file2) > file3
or
grep -Fxvf file1 file2 > file3
diff file1 file2 | grep "<" | sed 's/^<//g' > file3
join -v 2 <(sort file1) <(sort file2) > file3