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 is the first character of the output in ls l command?

1262


What is the use of the command 'ls -x chapter[1-5]' ?

1271


Is ‘du’ a command? If so, what is its use?

1206


What are the unix commands?

1156


What is the use of awk command in unix?

1193


What does the metacharacter mean?

1194


Explain mount and unmount command.

1280


Which command can you use to find the currently running process in unix server?

1169


What happens when we execute a unix command?

1205


Who wrote grep?

1112


What is nr in awk command?

1278


What does awk stand for?

1147


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

1361


Describe the zip/unzip command using gzip.

1227


Are you in or at the office?

1173