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 grep short for?
What does awk stand for?
What are the commands in UNIX to list the files in a Directory?
How does shebang work?
How do you repeat a command in terminal?
What is command statement?
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system.
How can i findthe right soluion???
My pgm:
#include
What is the use of sed command in unix?
What does pipe () return?
What is merge command in unix?
Enlist some filename manipulation commands in unix.
Write a command that will display files in the current directory, in a colored, long format.
Give the command for finding the current date.
What is the use of tee command?
What is ‘ps’ command for?