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 / jagadeeb choudhury

The Uniq command is used to report and Remove repeated line
in a file.
This is a value able tool for a lot of scripting and Testing.
Ex-
$ uniq Duplicate_line No_duplicate_line

If You want to see without repeated lines
Ex-
$ cat repeated_line_file | uniq


Thanks,
Jagadeeb@gmail.com

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I use grep to find a file?

1164


What is command statement?

1241


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

1288


What is the size of time_t?

1272


What is time_t?

1163


Which command is used to copy files?

1252


How do I search a whole word in vim?

1224


What is sed awk grep?

1189


Write a command that will display files in the current directory, in a colored, long format.

1276


How do I use grep to search for a file?

1106


What do chmod command do?

1288


What are the commands in UNIX to list the files in a Directory?

1257


Explain mount and unmount command.

1280


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

1267


What does the “echo” command do?

1197