【发布时间】:2018-10-31 03:19:30
【问题描述】:
我创建了以下简单的测试脚本
#!/bin/bash
echo "test"
我使用chmod +x ./msa.sh来执行它。
现在,当我尝试运行它时
喜欢./msa
我收到以下错误,
Failed to execute process ‘./msa.sh'. Reason:
exec: Exec format error
The file './msa.sh' is marked as an executable but could not be run by the operating system.
我正在使用mac 和fish,我应该怎么做才能成功运行它?
【问题讨论】: