LinuxText Processinguniq
sort -u

uniqText Processing

wc

Remove consecutive duplicate lines.

Syntax

uniq [OPTION]... [INPUT [OUTPUT]]