當前位置:生活全書館 >

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-hk/dianzi/molq2.html