首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

shell 的 while无限循环有关问题

2012-09-21 
shell 的 while无限循环问题!#! /bin/bashwhile 1doecho sdsddone为什么运行的时候出现错误呢,1:Command

shell 的 while无限循环问题!
#! /bin/bash
while 1
do 
  echo "sdsd"
done
为什么运行的时候出现错误呢,1:Command not found.

[解决办法]
while true

热点排行