执行 ./cmd.sh 时,出现以下提示: bash: ./cmd.sh:Permission denied 在当前目录下执行以下命令: chmod 777 cmd.sh 再次运行./cmd.sh,成功执行