Nguyễn Cap Tuyến
New member
How do I remove duplicate lines in Unix?
Answer
You need to use shell pipes along with the following two Linux command line utilities to sort and remove duplicate text lines:
Answer
You need to use shell pipes along with the following two Linux command line utilities to sort and remove duplicate text lines:
- sort command – Sort lines of text files in Linux and Unix-like systems.
- uniq command – Rport or omit repeated lines on Linux or Unix.