Question: Select the expression that will complete the if statement and allow line 4 to execute 1 #!/bin/bash 2 declare -l MYVAR='ORB' 3 if ????????; then
Select the expression that will complete the if statement and allow line 4 to execute
1 #!/bin/bash 2 declare -l MYVAR='ORB' 3 if ????????; then 4 echo $MYVAR 5 fi
| a. | [ $MYVAR = "orb" ] |
| b. | [ $MYVAR = "ORB" ] |
| c. | [ $MYVAR -eq "orb" ] |
| d. | [ $MYVAR -eq "ORB" ] |
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
