How to remove duplicate lines from a file using sort command
Answers
Answered by
0
Answer:
The uniq command is used to remove duplicate lines from a text file in Linux. By default, this command discards all but the first of adjacent repeated lines, so that no output lines are repeated. Optionally, it can instead only print duplicate lines. For uniq to work, you must first sort the output.
Answered by
0
Answer:
hope it will help you
Explanation:
please follow me
Attachments:
Similar questions