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 is the first character of the output in ls l command?
What is the use of the command 'ls -x chapter[1-5]' ?
Is ‘du’ a command? If so, what is its use?
What are the unix commands?
What is the use of awk command in unix?
What does the metacharacter mean?
Explain mount and unmount command.
Which command can you use to find the currently running process in unix server?
What happens when we execute a unix command?
Who wrote grep?
What is nr in awk command?
What does awk stand for?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
Describe the zip/unzip command using gzip.
Are you in or at the office?