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 time_t?
What is rmdir command?
What is a bash command?
What does sed command do in unix?
What is command substitution?
What is the use of the command 'ls -x chapter[1-5]' ?
Why is it called a shebang?
What does awk stand for?
What command is used to switching between users in unix?
What is the use of sed command in unix?
Which command will print your home directory on screen?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
Explain command to display different lines that are found when compare two files?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What is s and g in sed command?