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"
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"
本文标题:2018-07-25 Shell while
本文链接:https://www.haomeiwen.com/subject/hdkmmftx.html
网友评论