Question: Pass Shell is fun (3 arguments) to the script(prog.sh) as an arguments and print the length of the arguments. #!/bin/bash function File { # think

Pass "Shell is fun" (3 arguments) to the script(prog.sh) as an arguments and print the length of the arguments.

#!/bin/bash function File { # think you are inside the file # Change Here echo $# } # Do not change anything if [ ! $# -lt 1 ]; then File $* exit 0 fi # change here # here you can pass the arguments bash prog.sh Shell is fun

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!