Execute consequent-commands as long as test-commands has an exit status which is not zero.

      until test-commands; do consequent-commands; done

The return status is the exit status of the last command executed in consequent-commands, or zero if none was executed.

This is a BASH shell builtin, to display your local syntax from the bash prompt type: help until

“The act of bell ringing is symbolic of all proselytizing religions. It implies the pointless interference with the quiet of other people” ~ Ezra Pound

Related linux commands

case - Conditionally perform a command.
for - Expand words, and execute commands
if - Conditionally perform a command.
while - Execute commands.
Equivalent Windows command: IF - Conditionally perform a command.

Copyright © 1999-2024 SS64.com
Some rights reserved