Skip to content

uniq


NAME
     uniq - report repeated lines

SYNOPSIS
     uniq [-c] [file ...]

DESCRIPTION
     Drop adjacent repeated lines. Usually used after sort(1), because it
     only looks at neighbours.

OPTIONS
     -c   Prefix each line with the number of times it occurred

SEE ALSO
     sort(1)