chmod:无法访问"x":没有这样的文件或目录



我试着学习本教程https://www.youtube.com/watch?v=fmqkncV6JIY.基本上,我想在我的python代码中使用shebang。我正在尝试在AWS Linux实例上运行命令。我在运行时出错

chmod + x ​ file.py

我得到的错误

chmod: cannot access ‘x’: No such file or directory

删除+x:之间的空格

chmod +x ​file.py

相关内容

最新更新