shell 的 while无限循环Command not found
while 1
do
echo "sdsd"
done
为什么运行的时候出现错误呢,1:Command not found.
首先看一下 你的系统是支持什么shell,比如说 支持 ksh,你这样编译你的程序:ksh xxx.sh 这样就能通过了
while true
shell 的 while无限循环Command not foundwhile 1 do echo "sdsd" done 为什么运行的时候出现错误呢,1:Command not found. 首先看一下 你的系统是支持什么shell,比如说 支持 ksh,你这样编译你的程序:ksh xxx.sh 这样就能通过了 while true |