---

How to repeat a Linux command until it succeeds

If you want to run a command on a Linux system until it succeeds, there are some really easy ways to do it that don’t require you to retype the command repeatedly or sit in front of your screen pressing !! (repeat the previous command) until the command works. In this post, we’ll look at two options available with bash.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis