Reading User Input
Last updated
Last updated
Interactive user input is a vital feature if your scripts are going to provide rich functionality. To facilitate this sort of data capture, we use the read
command:
You can also use the -p
and -sp
options to set a prompt or silent prompt as necessary