https://blog.csdn.net/zilong00007/article/details/6681090
read -p "Enter your job title: "
read -p "Enter your job title: "
格 式
|
含 义
|
read -e
|
在交互式shell命令行中启用编辑器。例如,如果编辑器是vi,则可以在输入行时使用vi命令③
|
read –p prompt
|
打印提示符,等待输入,并将输入赋值给REPLY变量③
|
read –r line
|
允许输入包含反斜杠③
|
没有评论:
发表评论