當前位置:生活全書館 >

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/dianzi/0w538.html