Say I have a file like:
apple pear lemon lemon pear orange lemon
How do I make it so that I only keep the unique lines, so I get:
You can use SORT command
eg
SORT test.txt > Sorted.txt