shell 參數
$1? 取得第n個參數
$?? 取得error
$$取得pid
$@取得所有參數
$#參數的個數
$*取得所有參數=$@
posted on 2006-09-20 21:21 dreamstone 閱讀(203) 評論(0) 編輯 收藏 所屬分類: 片段