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 / sathish kumar p

cat << file name >> | uniq | sort -n

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

shell script for reverse the string

1400


Write a shell script that adds two numbers if provided as the command line argument and if the two numbers are not entered throws an error message.

1285


What is in a script?

1016


What are scripts in psychology?

1060


What are the types of script?

1175


How to calculate the number of passed arguments?

1094


What is scripting used for?

1043


What does $$ mean in shell script?

1054


How can the contents of a file inside jar be read without extracting in a shell script?

1127


Is shell and terminal the same?

1062


How does ls command work?

1034


What are the different variables present in linux shell?

1106


What is a scripting language simple definition?

1100


Is shell a scripting language?

1015


What language is bash written in?

994