Merge pull request #18400 from lujun9972/add-MjAyMDA1MDcgSG93IHRvIHJlcGVhdCBhIExpbnV4IGNvbW1hbmQgdW50aWwgaXQgc3VjY2VlZHMubWQK

自动选题: 20200507 How to repeat a Linux command until it succeeds
This commit is contained in:
Xingyu.Wang 2020-05-10 10:03:47 +08:00 committed by GitHub
commit 9179a4ef48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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