我试着学习本教程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