uniq (1) Linux Manual Page
uniq – report or omit repeated lines Synopsisuniq [,OPTION/]… [,INPUT /[,OUTPUT/]] DescriptionFilter adjacent matching lines from INPUT (or standard input), writing to OUTPUT (or standard output). With no options, matching lines are merged to the first occurrence. Mandatory arguments to long options are mandatory for short options too. -c, –count prefix lines by the number…
