Question: what is the difference between while loop and until loop in shell?
Answer: Shell Scripting until loop It is similar to while loop. The only difference is that until statement executes its code block while its conditional expression is false, and while statement executes its code block while its conditional expression is true.