1.for循环
//从1到10循环
for i in {..};do
echo "for loop"
done
2.while循环
be_s=
en_s= while [ "$be_s" -le "$en_s" ]
do
be_s=`date +%H%M`
echo $be_s
done
参考文档:
2024-01-12 20:16:04
1.for循环
//从1到10循环
for i in {..};do
echo "for loop"
done
2.while循环
be_s=
en_s= while [ "$be_s" -le "$en_s" ]
do
be_s=`date +%H%M`
echo $be_s
done
参考文档: