选题: 20200507 How to repeat a Linux command until it succeeds

sources/tech/20200507 How to repeat a Linux command until it succeeds.md
This commit is contained in:
DarkSun
2020-05-09 00:54:38 +08:00
parent 7f48162a04
commit 04be984af8

View File

@@ -0,0 +1,30 @@
[#]: 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