until

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

Syntax
      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.

Related:

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



Back to the Top

© Copyright SS64.com 1999-2012
Some rights reserved