TranslateProject/sources/tech/20200507 How to repeat a Linux command until it succeeds.md
DarkSun 04be984af8 选题: 20200507 How to repeat a Linux command until it succeeds
sources/tech/20200507 How to repeat a Linux command until it succeeds.md
2020-05-09 00:54:38 +08:00

31 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[#]: collector: (lujun9972)
[#]: translator: ( )
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
[#]: subject: (How to repeat a Linux command until it succeeds)
[#]: via: (https://www.linux.com/news/how-to-repeat-a-linux-command-until-it-succeeds/)
[#]: author: (Linux.com Editorial Staff https://www.linux.com/author/linuxdotcom/)
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 dont require you to retype the command repeatedly or sit in front of your screen pressing !! Lets look at the two options available with bash.
Read More at [Network World][1]
--------------------------------------------------------------------------------
via: https://www.linux.com/news/how-to-repeat-a-linux-command-until-it-succeeds/
作者:[Linux.com Editorial Staff][a]
选题:[lujun9972][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://www.linux.com/author/linuxdotcom/
[b]: https://github.com/lujun9972
[1]: https://www.networkworld.com/article/3541298/how-to-repeat-a-linux-command-until-it-succeeds.html