4 examples for uniq
# This will show a count of all lines that have more than 1 copy. So only show the duplicates. (-d)
uniq -cd
# This will show a count of all lines that have more than 1 copy. So only show the duplicates. (-d)
uniq -cd