Unix

Uniq command in Unix

Uniq commnd in unix is used to eliminate the duplicate lines from file.
The syntax of the uniq command is

The options are

Examples of uniq command

  • Command for remove the duplicates, It is for sorted order data.

  • Command to remove duplicates for Unsorted data
  • Display only uniq lines









Powered by Blogger.