shell while
shell while
实例
判断数字大小或条件
//这里提前定义了num1和num2
num1=1;
num2=3;
while (($num1 ==0)) | (($num2==3)) ;
do if [ $a -eq 1 ];then
sleep 1;
echo "$a";
fi;
done
本文来自博客园,作者:liwenchao1995,转载请注明原文链接:https://www.cnblogs.com/liwenchao1995/p/16732310.html

浙公网安备 33010602011771号