📌  相关文章
📜  如何在循环中运行命令 - Shell-Bash 代码示例

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

代码示例1
// Run command in loop sleep not mandatory done is mandatory
for i in {1..10}; do command; sleep 5; done

example for i in {1..10}; do echo -n "This is a test in loop $i "; sleep 5; done