I have 2 files. names1.txt and names2.txt.
I need to know that which names are present in names1.txt but are missing in names2.txt. Then I need to store them in another file missing_names.txt.
Diff command gives the difference but it also prints lot many information. Also, I do not want to know the names which are in names2.txt but are missing in names1.txt. So its like (names1.txt - names2.txt) operation.
man comm.