From 04be984af861c64adf5ab4de7b4e2bad92d9065f Mon Sep 17 00:00:00 2001 From: DarkSun Date: Sat, 9 May 2020 00:54:38 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=89=E9=A2=98:=2020200507=20How=20to=20rep?= =?UTF-8?q?eat=20a=20Linux=20command=20until=20it=20succeeds?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit sources/tech/20200507 How to repeat a Linux command until it succeeds.md --- ...epeat a Linux command until it succeeds.md | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 sources/tech/20200507 How to repeat a Linux command until it succeeds.md diff --git a/sources/tech/20200507 How to repeat a Linux command until it succeeds.md b/sources/tech/20200507 How to repeat a Linux command until it succeeds.md new file mode 100644 index 0000000000..1eb586b267 --- /dev/null +++ b/sources/tech/20200507 How to repeat a Linux command until it succeeds.md @@ -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 don’t require you to retype the command repeatedly or sit in front of your screen pressing !! Let’s 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