【发布时间】:2016-02-22 01:48:54
【问题描述】:
我正在尝试从命令行运行我的 shell 脚本,比如说;
我的脚本如下所示:
#!bin/bash
echo hello
尝试运行此源 ./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
"
在“echo hello”之前有一个空行有什么问题之前从未见过这个?我想知道有没有其他人遇到过这样的事情。
【问题讨论】:
-
欢迎来到 Stack Overflow。请尽快阅读FAQ。您是否有机会在 Ubuntu 系统或 Ubuntu 衍生产品上运行?只是好奇...
标签: shell