我有以下错误
bash: ./helloworld.sh: No such file or directory
在执行以下 Bash 脚本时:
#!/usr/bin/bash
#this is a helloworld programme
echo" hello world"
我检查了这个 bash,它是正确的
答案 0 :(得分:0)
看起来您尝试运行以下内容:echo "hello world"
,但是您写了 echo" hello world"
,它与 "echo hello world"
相同。空间很重要。
但看起来你也运行了错误的脚本......