WeCodeAcademy
❮ sort| (pipe) ❯

uniq

Removes repeated neighbouring lines.

Group: Text

Syntax

uniq [-c] file

Example

Examplebash
Open in editor »
/ $

← All of Bash Command Reference