Observe the following while loop:
while true
do
echo ” Welcome”
sleep 5
done
What does the while statement do in the script when the condition is true?
A.
It executes the echo command 5 times with a sleep time of 5 minutes.
B.
It executes the echo command infinitely with a sleep time of 5 minutes.
C.
It executes the echo command 5 times with a sleep time of 5 seconds.
D.
It executes the echo command infinitely with a sleep time of 5 seconds.
Explanation: