+++++++++++++++++++++++++++++++++++++++++
标题:Linux read 命令的常用方法
时间:2020年3月3日
+++++++++++++++++++++++++++++++++++++++++
e.g. read -p "Please Enter a Number " num
读取变量时,输出提示信息
e.g. read -t 5 "Please Enter a Number" num
输入信息时,做超时控制
e.g. read -u 8
从文件描述中读取数据
e.g. read -n "Please Enter a Number" num
从输入的内容中提取前两个字符