shell腳本學習筆記(1、shell腳本變量語法)

sh文件用"#!"開頭表示用什麼來執行程序,如"#!/bin/bash" 表示用bin/bash來執行shshell sh文件,默認是文本文件,是不能夠執行的,能夠經過chmod容許sh文件能夠被執行,chmod命令說明以下:bash chmod----改變一個或多個文件的存取模式(mode)函數 chmod [options] mode filesthis 如chmod +x  my_first
相關文章
相關標籤/搜索