uniq command, filters the output (from either a file or stdin) to remove any duplicates.
Important Flags for uniq:
|To count the occurrences of every line in file or stdin
|Will only print the lines that are repeated, not the one which are unique
|Will only print lines that are already uniq
|Ignores case(Default is case-sensitive)