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 / neennii
sort -u wordtestfile.txt | tee outuniquefile.txt | echo "total unique words are" `wc -w` ; cat outuniquefile.txt
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
How to get the first line from a file using just the terminal?
What is bash shell command?
How will you print the login names of all users on a system?
What is the command to find out today's date?
How can any user find out all information about a specific user like his default shell, real-life name, default directory, when and how long he has been using the system?
What is shell chemistry?
Explain about debugging?
what is info area how many types?
What is shell application?
What is the lifespan of a variable inside a shell script?
What are the different communication commands available in the shell?
What is the command to find out users on the system?
What is the purpose of scripting?
What language is bash?
What is difference between shell and bash scripting?