开心生活站

位置:首页 > IT科技 > 

liunx怎么运行脚本

IT科技8.49K

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

liunx怎么运行脚本

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

liunx怎么运行脚本 第2张

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

liunx怎么运行脚本 第3张

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

liunx怎么运行脚本 第4张

标签:liunx 运行 脚本