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

What is time_t?

1056


What is rmdir command?

1043


What is a bash command?

1112


What does sed command do in unix?

1114


What is command substitution?

1266


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

1154


Why is it called a shebang?

1090


What does awk stand for?

1033


What command is used to switching between users in unix?

1026


What is the use of sed command in unix?

1139


Which command will print your home directory on screen?

1030


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

1140


Explain command to display different lines that are found when compare two files?

1106


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

1143


What is s and g in sed command?

1058