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...

write a shell script that counts a number of unique word
contained in the file and print them in alphabetical order
line by line?

Answer Posted / phani

cat filename | uniq -u | sort -n

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a shell script to generate a alert ? like when ur birthday came then generate a alert ur birthday is today like that ?

4111


What are the two files of crontab command?

1205


Write down the syntax of "for " loop

1078


How do you create a shortcut in linux?

1170


What are different types of shell?

913


Is it possible to substitute "ls" command in the place of "echo" command?

1039


How to pass an argument to a script?

1166


What does debug script mean?

962


What does echo $0 do?

948


What does the sh command do?

1065


What is bash eval?

989


Which shell is the best?

974


What does path stand for?

1043


Why is used in shell scripting?

974


What exactly is a shell?

1057