shell基礎腳本

運行第一個shell程序 vim test.sh  #!bin/bash echo "helloworld" 添加可執行權限 chmod + x test.sh ./test.sh通過相對路徑進行程序的運行 #! /bin/bash line="shixinfa" echo $line function add(){ echo "addmeans" } add function sub(){  
相關文章
相關標籤/搜索