command not found
命令名是正确的。
例如:#!/bin/bash
#
echo "INput a number"
read no
if [$no -ge 10 -a $no -le 101]
then echo "the number between 10 and 101"
elif [$no -ge 102]
then echo "the number dayu 101"
else echo "the number xiaoyu 10"
fi
总是报command not found 的错误信息。
反正我的linux系统上有时候同一个命令这会可以执行,有些时又不能执行,报command not found 的错误信息。
请问:产生command not found 的根源是什么?该怎么处理这类错误。