bash 脚本如何将值传递给交互式提示

时间:2021-02-22 18:40:22

标签: bash shell

我有以下一组问题,这些问题将一个接一个地提示(可以是有效或无效的答案),我想通过按顺序传递值来自动化它。 您能否建议我如何实现这一目标:

问题

The username is xyz
The host system's name is wlc123
The name (or path) of the current directory is: /tmp/x
The name of the file: file.sh 

0 个答案:

没有答案
相关问题