How to remove duplicated lines in a file
Answer:
Use the following command
sort test.txt | uniq
Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.
How to remove duplicated lines in a file
Answer:
Use the following command
sort test.txt | uniq
[...] You would need to sort the file and make each column an unique line first. Share and [...]