Question: Assume the given script is called script 1 and was executed from the command line by . / script 1 1 0 2 0 3

Assume the given script is called script1 and was executed from the command line by ./script1102030.
#!/bin/bash
X=$1
Y=$3
Z=$((X+Y))
echo $#
Will Y=$3 cause an error since we never used $2?

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!