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
Explain command to show the space allocation of files?
What is awk good for?
How do I search a whole word in vim?
How many unix commands are there?
What are bash commands?
Which unix command lists files/folders in alphabetical order?
What does 'mkdir' command do in UNIX?
Write a command to kill the last background job?
What do chown command do?
What do know about tee command?
What is the use of sed command in unix?
What is the command to view process running?
Explain ‘library functions’ with respect to unix commands?
What is the pipe command?
What is command substitution?