Remove duplicate lines from files keeping the original order How to remove duplicate lines of a file in Linux without sorting or changing their order (one-liner explained).