Search exams, classes and guides
Search...
English
Sign in
Sign in
Home
Practice
Discover
Performance
More
CompTIA Linux+ XK0-006
Automation, Orchestration, and Scripting
Card 38 of 113
38 / 113
A Bash until loop runs its body as long as the test command returns exit status 0, and stops when the test command retu…
Front
A Bash until loop runs its body as long as the test command returns exit status 0, and stops when the test command returns a nonzero status.
Back
This is reversed. An until loop runs its body while the test command returns a nonzero status and stops once it returns 0. A while loop is the one that continues while the test returns 0, which is why the two are easily confused.
Show the back
Press the card to see the back
Study this deck