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
I have to write Shells (Linux + Unix)for publishing packages and reports. Is it possible ? What are the differents executable programs ineed to call ?
What is $1 in shell scripting?
Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.
What does $@ mean bash?
How do I run a shell script in powershell?
What is sh in shell script?
How does shell scripting work?
how will you find the total disk space used by a specific user?
Explain about stdin, stdout and stderr?
Explain how you Automate your application using Shell scripting.
What can scripts do?
What is sudo command?
What lives in a shell?
What is web script?
What is batch file programming?