|
Command Help!
Hello Everyone,
Ok lets say I have 2 files: allusers.txt and specificusers.txt
The allusers.txt is a list of all usernames, and specificusers.txt has only about 10 usernames (of allusers.txt). If allusers.txt has 100 usernames, how do I show the remaining 90 usernames? I tried the diff and commm command and it doesnt work. I tried:
comm -13 specificusers.txt allusers.txt > Show.txt
comm -23 specificusers.txt allusers.txt > Show1.txt
cat Show.txt Show1.txt > Main.txt
Ok the Main.txt has repeats of the usernames i need deleted. Is there anything that deletes duplicate lines in Main.txt (when i say duplicate, i mean the duplicated line & also the original), so it would show the 90 that arent in the specificusers.txt file.
(if you have another method, please help!!!)
THANK YOU!
|