Create a bash shell script to sort and then
uniq the file from the command line & store it to a new
file and output the results to the screen. Name this
script "sortAndUniq.sh"
Answer Posted / linuxdemon
sort $1 | uniq > output | echo "`cat output`"
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is a scripting language simple definition?
How do I open the shell in cmd?
How will you emulate wc –l using awk?
How to print pid of the current shell?
How do I run a .sh file on mac?
How are shells born?
What are the zombie processes?
What are the different types of shell scripting?
What does $$ mean in shell script?
What is scripting autism?
How will you find the 99th line of a file using only tail and head command?
How do I edit a .sh file?
What is sudo command?
Explain about gui scripting?
Is scripting and coding the same thing?