三种死循环

#!/bin/bash
while : ;do
echo aa
sleep 1
done
#!/bin/bash
whlie ture;do
echo bb
sleep 1
done
#!/bin/bash
for (( ; ; ));do
echo cc
sleep 1
done

猜你喜欢

转载自blog.51cto.com/14850225/2589617