首页 > 文章列表 > python怎样运行.sh文件

python怎样运行.sh文件

Python 文件 运行 .sh
105 2022-08-07

查看目录.sh文件。

先给文件添加x权限chmod u+x hello.sh。

然后再输入./hello,sh或 sh hello.sh。

执行hello.sh文件。

以下就是Linux下面如何运行.sh文件的总结。