I have two files that contain account names. I need to compare them and get a print out of what is in file2 that is not in file1. So, if jjones is in both, I don't care. If jsmith is in file1 and not file2, again, I don't care. However, if jjohnson is in file2 but not in file1 I want to know about it.
I've been playing around with these commands and I can't seem to get it to give me the correct information.
If i do comm -1 -3 file1 file2 it seems to just print out everything that is in file2.
Am I dont something wrong?
Please help...
I've been playing around with these commands and I can't seem to get it to give me the correct information.
If i do comm -1 -3 file1 file2 it seems to just print out everything that is in file2.
Am I dont something wrong?
Please help...