Linux command uniq stands for "unique" and filters out adjacent, duplicate lines in a file.

uniq -- report or filter out repeated lines in a file

The uniq utility reads the specified input_file comparing adjacent lines,
     and writes a copy of each unique input line to the output_file. 

Featured Post

Low-tech Tools Can Fight Land Corruption, Experts Say

Technological solutions to prevent land corruption require resources, but they do not have to be expensive, land rights experts said Tuesday...