shell读取控制台传入参数 read -p
#!/bin/bash read -t 7 -p "input your name " NAME echo $NAME read -t 11 -p "input you age " AGE echo $AGE read -t 15 -p "input ...
#!/bin/bash read -t 7 -p "input your name " NAME echo $NAME read -t 11 -p "input you age " AGE echo $AGE read -t 15 -p "input ...