until
Simple shell loop that repeats until it receives zero as return value. tldr-pages
On several platforms
Several platforms
Execute a command until it succeeds
until command; do :; doneIdentifyTry to connect to an SSH host until gracefully disconnected
until ssh username@host; do sleep 2; doneIdentifyWait for a systemd service to be active
until systemctl is-active --quiet nginx; do echo "Waiting..."; sleep 1; done; echo "Launched!"Identify