📌  相关文章
📜  shell 脚本中的 for 循环迭代 - Shell-Bash 代码示例

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

代码示例1
#!/bin/bash
START=1
END=5
echo "Countdown"
 
for (( c=$START; c<=$END; c++ ))
do
    echo -n "$c "
    sleep 1
done
 
echo
echo "Boom!"