Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the use of uniq commmand?

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


Please Help Members By Posting Answers For Below Questions

What happens when we execute a unix command?

1147


Name the various commands that are used for the user information in unix.

1091


What is the command to find maximum memory taking process on the server?

1221


How do I run a bash script?

1187


What is the difference between awk and grep?

1255


Explain the steps that a shell follows while processing a command.

1237


What is the function of grep command in unix?

1187


What are the unix commands?

1099


What is the size of time_t?

1219


What are awk commands?

1163


How do you grep a case insensitive?

1052


What does the command ' $who | sort –logfile > newfile' do?

1280


What is the general format of unix command syntax?

1945


Name the general commands in using unix os for a beginner?

1168


Is it inbetween or in between?

1063