AIt repeats commands until the condition becomes true.
BIt repeats commands while the condition is true.
CIt runs commands only once regardless of condition.
DIt runs commands only if the condition is false.
Step-by-Step Solution
Solution:
Step 1: Understand the until loop behavior
An until loop runs repeatedly until its condition becomes true, meaning it stops when the condition is true.
Step 2: Compare options with definition
It repeats commands until the condition becomes true. correctly states the loop repeats until the condition is true. It repeats commands while the condition is true. describes a while loop. Options C and D are incorrect behaviors.
Final Answer:
It repeats commands until the condition becomes true. -> Option A
Quick Check:
until loop = repeat until true [OK]
Quick Trick:Remember: until stops when condition is true [OK]
Common Mistakes:
MISTAKES
Confusing until with while loop
Thinking until runs only once
Believing until runs while condition is true
Master "Loops" in Bash Scripting
9 interactive learning modes - each teaches the same concept differently