关闭→
当前位置:科普经验站>IT科技>linux中运行脚本的方法是什么

linux中运行脚本的方法是什么

科普经验站 人气:2.06W

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

linux中运行脚本的方法是什么

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

linux中运行脚本的方法是什么 第2张

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

linux中运行脚本的方法是什么 第3张

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

linux中运行脚本的方法是什么 第4张

TAG标签:#运行 #脚本 #linux #