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
Get step-by-step solutions from verified subject matter experts
