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

Give some situations where typing error can destroy a program?

730


Write a command sequence to find the count of each word?

546


c program to implement unix/linux command to block the signal ctrl-c and ctrl-\ signal during the execution ls -l|wc -l

3162


How do I run a script on mac?

574


What is $1 in shell scripting?

595






Write down the syntax of "for " loop

614


What is sh in shell script?

584


How can we find the process name from its process id?

711


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

546


What is bash used for?

581


Is bash an operating system?

552


How do I run a bin bash script?

582


Is shell a scripting language?

576


What is shell geeksforgeeks?

600


What is an inode block?

580