2018-07-25 Shell while
2018-07-25 本文已影响0人
七点水Plus
From: https://blog.csdn.net/like_LeafFlying/article/details/72356342?locationNum=8&fps=1
#!/bin/bash
# 显示一系列数字
count=1
while [ $count -le 6 ]; do
echo $count
count=$((count + 1))
done
echo "finished"