.sh作為字尾 在shell腳本裡第一行要以 “#! /bin/bash” 開頭,它代表的意思是,該檔案使用的是bash文法 執行方法 : ./shell.sh sh ./shell.sh source./shell.sh