SyntaxFix
Write A Post
Hire A Developer
Questions
I got the solution by using comm
comm -23 file1 file2
will give you the desired output.
The files need to be sorted first anyway.