開心生活站

位置:首頁 > IT科技 > 

liunx運行腳本的方法

IT科技2.74W

1、打開linux系統,在linux的桌面的空白處右擊。

liunx運行腳本的方法

2、在彈出的下拉選項裏,點擊打開終端。

liunx運行腳本的方法 第2張

3、執行腳本需要有執行限,在終端窗口中輸入chmod u+x file.sh命令。

liunx運行腳本的方法 第3張

4、輸入bash file.sh  命令,回車後即可運行腳本。

liunx運行腳本的方法 第4張

標籤:運行 liunx 腳本