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

What is scripting autism?

1264


What is the use of .sh file?

1175


How do I open a jshell in cmd?

1318


What's the difference between scripting and coding?

1262


How do I run a powershell script?

1191


Print the 10th line without using tail and head command.

2220


What is bash command used for?

1114


How do I set bash as default shell mac?

1052


What is the first line in a shell script?

1168


Can we run shell script in windows?

1210


What makes c shell a more preferable option than the bourne shell?

1019


Is bash an operating system?

1034


c program the catches the ctrl-c(SIGINT) Signal for the first time and prints a output rather and exit on pressing Ctrl-C again

6556


How do scripts work?

1084


What is the meaning of $1 in shell script?

1161