unbuntu系统怎么在终端运行python脚本和shell脚本

1.先进如你python脚本和shel脚本所在的文件夹,在文件夹中打开终端
在这里插入图片描述之后输入命令:(我命令里面的100 ,10和 0是我传递的参数,若不用传参,直接sudo python3.6 RemoteController.py就可以了)


```python
sudo python3.6 RemoteController.py 100 10 0


shell脚本命令:

```powershell
 bash ./flowrule-overflow-test.py

enter运行就可以了!

Logo

CSDN联合极客时间,共同打造面向开发者的精品内容学习社区,助力成长!

更多推荐