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
How do I use grep to find a file?
What is command statement?
Explain the steps that a shell follows while processing a command.
What is the size of time_t?
What is time_t?
Which command is used to copy files?
How do I search a whole word in vim?
What is sed awk grep?
Write a command that will display files in the current directory, in a colored, long format.
How do I use grep to search for a file?
What do chmod command do?
What are the commands in UNIX to list the files in a Directory?
Explain mount and unmount command.
What is the command to find maximum memory taking process on the server?
What does the “echo” command do?