2 Minutes To Code (β Version)

'uniq' command - 2 minute tutorial

Overview of 'uniq' command

The unix comamnd 'uniq' will compare lines of a file and display only one line for multiple occurence of identical lines.

We will start with a few basic examples and then explore all the advanced options that 'uniq' provides in the next few pages.