linux permission denied解决方法

2018-05-10  本文已影响8人  lazyTai

为了获得执行权限,借助chmod指令修改文件权限即可。如下所示:

chmod 777 yourfile

我:
linux 使用sh 来运行命令
我:
比自己一个一个手打好多了

直接运行,psuh.sh 那么久直接提交了,而且是在笔记本写
比在命令行写快拿

/bin/bash^M: bad interpreter: No such file or directory

Run following command in terminal

sed -i -e 's/\r$//' scriptname.sh
./scriptname.sh
上一篇 下一篇

猜你喜欢

热点阅读