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 / saurabh

This is the output of the command:
>cat skg.txt
aa
aa
bb
cc
bb
dd
cc
ee

--------------

>cat skg.txt | uniq

aa
bb
cc
bb
dd
cc
ee

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I use grep to search for a file?

1054


What is ‘ps’ command for?

1183


What does #!/ Bin sh do?

1068


What is the first character of the output in ls l command?

1216


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

1243


How do I use grep to find a file?

1112


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

1224


What does this command do? Cat food 1 > kitty

1586


What is the use of find command in unix?

1152


What does the “echo” command do?

1152


What is grep r?

1101


What is the difference between cat command and more command?

1205


What is the nmap command?

1182


What is a command and examples?

1234


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

1186