我试图从命令行运行我的shell脚本让我们说;
我的脚本看起来像这样:
#!bin/bash
echo hello
Run Code Online (Sandbox Code Playgroud)
当尝试运行此源./abcd.sh时出现此错误.
"' is not a typo you can run the following command to lookup the package that contains the binary:
command-not-found
: command not found
hello
"
Run Code Online (Sandbox Code Playgroud)
在"echo hello"之前有空行之前从未见过这个问题吗?我想知道是否有其他人遇到过这样的事情.
shell ×1