Run loop until command succeeds.
Section: Loops
Until loop
bash
bash
until curl -sf http://localhost:8080/health; do sleep 1; doneExplanation
Good for readiness checks in scripts.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Loops