Linux have a lot of tools to make daily work of system administrators easy. uniq is one of them. Uniq is a small tool with limited capabilities. Syntax Syntax is same as other most of the Linux commands.
uniq [OPTION]... [INPUT [OUTPUT]]
Help Simple and fast help about the options can be get like...