bash do until code example
Example 1: how to do a repeat until loop in bash
until [CONDITION]
do
[COMMANDS]
done
Example 2: bash script until loop
until [ <some test> ]
do
<commands>
done
until [CONDITION]
do
[COMMANDS]
done
until [ <some test> ]
do
<commands>
done