Uniq with sort…

This command will read the file cdp.txt, perform a unique sort on column 2 using a space as a delimiter:

sort -u -t ‘ ‘ -k2 cdp.txt

Leave a Reply

Your email address will not be published. Required fields are marked *