Multiple Choice
Consider the following script. The output will be: #! /bin/bash
guess=2
check=$ $RANDOM )
if [ $guess -eq $check]
then
echo "Correct Guess: The number is $check"
else echo "Sorry, wrong guess"
A) Correct Guess: The number is 3
B) Indeterminate
C) Correct Guess: The number is 2
D) Sorry, wrong guess
Correct Answer:

Verified
Correct Answer:
Verified
Q11: Shell scripts are used for<br>A) Serving as
Q12: The command that will create a new
Q13: Consider the following script. The output
Q14: An infinite loop a loop that runs
Q15: Consider the following script. The output will
Q17: The first line of an executable script
Q18: A specific set of commands is to
Q19: In programming languages, loops are used to<br>A)
Q20: Environment variables are<br>A) Variables describing the user's
Q21: The command to view the contents of