UNIX question -- how to sort and remove duplicates?
I have a huge file that's full of tons of duplicate lines -- I want to remove all the duplicate lines from the file.
I did a "man sort" and I didn't see any option to remove/ignore duplicate lines --
Anyone know how to do it? I'm sure it's easy...
|