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 happens when we execute a unix command?
Name the various commands that are used for the user information in unix.
What is the command to find maximum memory taking process on the server?
How do I run a bash script?
What is the difference between awk and grep?
Explain the steps that a shell follows while processing a command.
What is the function of grep command in unix?
What are the unix commands?
What is the size of time_t?
What are awk commands?
How do you grep a case insensitive?
What does the command ' $who | sort –logfile > newfile' do?
What is the general format of unix command syntax?
Name the general commands in using unix os for a beginner?
Is it inbetween or in between?