4 examples for uniq

{{ score }}
  # This will show a count of all lines that have more than 1 copy. So only show the duplicates. (-d)
uniq -cd
        
{{ score }}
  # Precede each line with number of occurrences
uniq -c
        
{{ score }}
  # your_comment_here
uniq unique_file.data 
sort data_file | uniq
        
{{ score }}
  # Count number of dublicates in file
uniq -C