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?
Suppose you have a text file and you need to remove all of its duplicate lines.
TL;DR
To remove the duplicate lines while preserving their order in the file, use:
read more