Thursday, March 11, 2010

sort and remove duplicates in file

sort and uniq will quickly and easily remove duplicates, lsit only the dupilcates or only the unique data.

sort myfile.txt | uniq

No comments:

Post a Comment