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

What does chmod do?

1191


Explain about shebang?

1040


How are shells born?

972


What is awk script?

986


Why are shell scripts used?

1082


How can you find out how long the system has been running?

902


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

4132


What is a program shell?

1049


How do I run a script on mac?

1105


Is bash an operating system?

988


How to calculate the number of passed arguments?

1105


How will you pass and access arguments to a script in linux?

1158


What is scripting used for?

1046


What is in a script?

1021


Explain about sourcing commands?

1103