OSTechNix published a brief tutorial about how to repeat a command until it succeeds in Linux.
How To Repeat A Command Until It Succeeds In Linux
In this guide, we are going to learn how to repeat a command until it succeeds in Linux using BASH looping constructs such as While loop and Until loop.
How To Repeat A Command Until It Succeeds In Linux - OSTechNix