Multiple Choice
Consider the following script. The output will be newlines replaced by spaces for brevity) : #! /bin/bash
counter=1
while [ $counter -le 2]
do
echo $counter
done
A) 5 .. 1
B) 5 4 3 2 1
C) 1 2 3 4 5
D) 1 1 1 1 1 1 ……. indefinitely)
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q10: A user needs the following permissions to
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
Q16: Consider the following script. The output
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