Description
Repeats a command until it succeeds, which is useful for flaky network steps, temporary service startup, or scripts that need a simple retry loop. It helps automation wait for a condition without writing custom shell logic every time.
Retrying a command can repeat side effects such as writes, uploads, emails, or payments if the command is not idempotent. Use it only with operations that are safe to run more than once.