Remove duplicate lines from a text file
You can use this shell command:
uniq -u input.txt output.txt
Henning Koch
14 years ago
This website uses short-lived cookies to improve usability.
Accept
or
learn more