我在hello
/home/****/bin/hello
当我以root用户身份执行时:
$ hello
它的输出如下:
Hello, the program executed by terminal command.
但是当我用 fish shell
执行时$ hello
输出
Failed to execute process '/home/***/bin/hello'. Reason:
exec: Exec format error
The file '/home/***/bin/hello' is marked as an executable but could not be run by the operating system.
我在谷歌搜索但我没有成功。
没有文件或目录存在~/.config/fish/functions
请帮助我,因为我不是Linux世界的专家。