shell 的 while无限循环问题!#! /bin/bashwhile 1doecho sdsddone为什么运行的时候出现错误呢,1:Command
shell 的 while无限循环问题!
#! /bin/bash
while 1
do
echo "sdsd"
done
为什么运行的时候出现错误呢,1:Command not found.
[解决办法]
while true
shell 的 while无限循环问题!
#! /bin/bash
while 1
do
echo "sdsd"
done
为什么运行的时候出现错误呢,1:Command not found.
[解决办法]
while true