until command in Linux with Examples
until command in Linux used to execute a set of commands as long as the final command in the ‘until’ Commands has an exit status which is not zero. It is mostly used where the user needs to execute a set of commands until a condition is true.
Syntax:
until COMMANDS; do COMMANDS; done
Here, if the COMMANDS get evaluated to false then the statements will be executed. If the COMMANDS get evaluated to true then the no statements will be executed and control will go after the done statement.
Example:

Options:
- help until : It displays help information.
Recommended Posts:
- cmp Command in Linux with examples
- cpp command in Linux with Examples
- Cat command in Linux with examples
- rm command in Linux with examples
- less command in Linux with Examples
- cut command in Linux with examples
- sum command in Linux with Examples
- cvs command in Linux with Examples
- id command in Linux with examples
- tac command in Linux with Examples
- gs command in Linux with Examples
- tty command in Linux with examples
- for command in Linux with Examples
- which command in Linux with examples
- arp command in Linux with examples
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.



