Answers:
如果您仍然无法从其他答案中得到答案,则与此相同:
$ echo the quick brown fox
the quick brown fox
$ the quick brown fox
bash: the: command not found
$ echo and/or the black and white cats
and/or the black and white cats
$ and/or the black and white cats
bash: and/or: No such file or directory
每个命令行的第一个字必须是命令。
echo是这样的命令。
the,and/or和:/home/bo/bin:/usr/local/bin:/usr/sbin…不是。而且,很明显,当您键入以不是命令字的单词开头的命令行时,bash会说出No such file or directory该单词是否包含一个或多个/字符,command not found是否包含一个或多个字符。
$PATH会在不尝试执行变量的情况下将变量打印到屏幕上,但是事实并非如此。