Bash - Until
About
The until syntax in bash
Syntax
until list; do list; done
The until command is identical to the while command, except that the test is negated; the do list is executed as long as the last command in list returns a non-zero exit status.
The exit status of the while and until commands is the exit status of the last do list command executed, or zero if none was executed.