mac终端中的权限被拒绝

sar*_*ara 8 macos terminal command

我正在尝试使用root在mac终端上编写一个命令,但它告诉我权限被拒绝,当我使用sudo时它显示命令未找到

谁能帮帮我吗

aftheers-MacBook-Air:scripts root# ./ArduinoWifiShield_upgrade.sh
-sh: ./ArduinoWifiShield_upgrade.sh: Permission denied
Run Code Online (Sandbox Code Playgroud)

Arc*_*676 35

您必须使用可执行文件

chmod +x ArduinoWifiShield_upgrade.sh
Run Code Online (Sandbox Code Playgroud)

元谈话:由于缺乏更好的短语,只发布到"完成循环".问题在技术上已经解决了.