---

Removing duplicate lines with awk ‘!visited[$0]++’ explained

How to remove duplicate lines of a file in Linux without sorting or changing their order (awk one-liner explained).