Answer Posted / giridhar tarare
uniq command search the uniq data in file and if some
duplicate date then it put only single records in report.
For Example: cat testnumber.txt | uniq <enter>
File contents:
1233
456
678
1233
678
output file shows:
1233
456
678
| Is This Answer Correct ? | 3 Yes | 7 No |
Post New Answer View All Answers
What does the metacharacter mean?
What is pipe command in unix?
What is awk good for?
How does the system know where one command ends and another begins?
Why is it called grep?
Which command is used to find whether the system is 32 bit or 64 bit?
What does the “echo” command do?
How many unix commands are there?
What is used to type command?
Is it inbetween or in between?
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 the function of grep command in unix?
Which command is used to copy files?
Using unix command how to display no of records in oracle?
What is unix command line?