span 退出 ash color logs pan 没有 style
read 用来接收标准输入
# ! /bin/bash read - t 10 - p "Please input a number: "number#把键盘的输入赋值给number这个变量名, - t表示几秒之后用户还没有输入任何东西就退出echo $number
read 命令
来源: http://www.bubuko.com/infodetail-2164292.html