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

Where are cowrie shells found?

574


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

526


What is option in shell script?

556


What is a shell script in windows?

583


What is shell and shell script?

556






What are the different commands available to check the disk usage?

489


How do I run a .sh file?

611


What is a shell made of?

555


Why are there shells on the beach?

589


What is the use of "$?" Sign in shell script?

611


What is bash coding?

495


How will you copy a file from one machine to other?

544


What can scripts do?

660


What are the advantages of using shell scripts?

577


What does the sh command do?

604