Posted by
admin on Tuesday, February 10th, 2009 |
8,924 views
Display all the lines sorted in alphabetic order:
sort file_name
Now show only the unique lines:
sort file_name | uniq
And finally save the unique lines in a new file:
sort file_name | uniq > file_name_uniques
Leave a Reply