linux 修改文件权限指令chmod chmod 修改一下bin目录下的.sh权限就可以了。 chmod u+x *.sh 这里的u 这里指文件所有者,+x 添加可执行权限,*.sh表示所有的sh文件。