当前位置:生活全书馆 >

IT科技

> Linux系统脚本如何运行

Linux系统脚本如何运行

1、打开linux系统,在linux的桌面的空白处右击。

Linux系统脚本如何运行

2、在弹出的下拉选项里,点击打开终端。

Linux系统脚本如何运行 第2张

3、执行脚本需要有执行限,在终端窗口中输入chmod u+x file.sh命令。

Linux系统脚本如何运行 第3张

4、输入bash file.sh  命令,回车后即可运行脚本。

Linux系统脚本如何运行 第4张

  • 文章版权属于文章作者所有,转载请注明 https://shqsg.com/zh-cn/dianzi/qoxpw1.html