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
Using unix command how to display no of records in oracle?
Explain command to show the space allocation of files?
What is the use of finger command?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What does the “echo” command do?
Name the general commands in using unix os for a beginner?
What are grep patterns?
What is $0 bash?
How do I use grep to find a file?
What are the general commands in using unix os for a beginner?
What does the command '$ls | wc –l > file1' do?
What are filter commands in unix?
Describe the zip/unzip command using gzip.
What is the pipe command?
How do I run a whois command?