29 if["$UID" -ne "$ROOT_UID"]
30 then
31 echo "Must be root to run this script."
32 exit $E_NOTROOT
33 fi
这句怎么会错呢?
./Cleanup.3.sh: line 29: if[1000 -ne 0]:找不到命令
./Cleanup.3.sh: line 30: 在未预料的“then”附近出现语法错误
./Cleanup.3.sh: line 30: `then'
Shell if问题
-
- 帖子: 46
- 注册时间: 2008-05-02 10:33