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
What is the unix command to confirm a remote host is alive or not?
What will the following command do?
Who command in unix operating system?
Which command is used to kill the last background job?
Why is grep called grep?
What is pipe command in unix?
What is s and g in sed command?
What do chgrp command do?
Which command will print your home directory on screen?
How do I search a whole word in vim?
What is time_t?
What does awk stand for?
Can you explain a little bit about command substitution?
What is $0 bash?
Explain command to view process running?