Linux & Shell · Command
uniq
uniq reports or removes repeated adjacent lines. It can count groups, select duplicate or unique groups, and change how lines are compared.
Last updated
Syntax
uniq [ OPTION ]... [ INPUT [ OUTPUT ]]In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
sortcommjoin