read讀取用戶輸入 read option variable option -p 輸入提示 -t 等待時間,單位秒,超過這個時間退出輸入,不指定-t則一直等待。 把用戶輸入的內容賦值給variable 例子