Ready to be published? LXer is read by around 350,000 individuals each month, and is an excellent place for you to publish your ideas, thoughts, reviews, complaints, etc. Do you have something to say to the Linux community?
In this article we discuss using the uniq command to print or remove adjacent duplicated lines. We also discuss the different between uniq and sort -u, which are often compared as having the same functionality.