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
How can we use grep command in unix?
What is the pipe command?
How do I run a bash script?
Describe the usage and functionality of the command rm –r * in unix?
What difference between cmp and diff commands?
What is the use of the command 'ls -x chapter[1-5]' ?
Can you enlist some commonly used network commands?
Explain command to show the space allocation of files?
What is time_t?
What is the comma to show the space allocation of files?
What do chown command do?
What is awk good for?
What is the behavioural difference between cmp and diff commands?
Why is awk called awk?
Which command should you use to find the remaining disk space in unix server?