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 / roopa
hey can you please tell me what is the avlue of $1
and how do we specify that in our script?
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What exactly is a shell?
What is a program shell?
Is shell scripting useful?
Why should we use shell scripts?
What is sed in shell script?
Determine the output of the following command: name=shubham && echo ‘my name is $name’.
How to use arguments in a script?
What is path in shell script?
What are the four fundamental components of every file system on linux?
What are zombie processes?
Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.
How can I send a mail with a compressed file as an attachment?
What is the first line of a shell script called?
What is the equivalent of a file shortcut that we have a window on a linux system?
What does .sh file contain?