📜  bash 运行直到成功或超时 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:38.983000             🧑  作者: Mango

代码示例1
# http://jeromebelleman.gitlab.io/posts/devops/until/
timeout 12h bash -c 'until ssh root@mynewvm; do sleep 10; done'