Answer Posted / jagadeeb choudhury
The Uniq command is used to report and Remove repeated line
in a file.
This is a value able tool for a lot of scripting and Testing.
Ex-
$ uniq Duplicate_line No_duplicate_line
If You want to see without repeated lines
Ex-
$ cat repeated_line_file | uniq
Thanks,
Jagadeeb@gmail.com
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Explain how to use grep command to list find the records of a file containing 10 different strings?
How do I search for a file in unix command?
What is command substitution?
What does touch command do in unix?
What is the first character of the output in ls l command?
What's a command word?
What does awk stand for?
What is the functionality of a top command?
Explain command to display different lines that are found when compare two files?
What is the pipe command?
Write a command that will display files in the current directory, in a colored, long format.
What are the general commands in using unix os for a beginner?
What is “chmod” command?
What is the difference between grep and grep?
What is grep command in unix with examples?