I want to pause input in a shell script, and prompt the user for choices. The standard Yes, No, or Cancel type question. How d
Yes
No
Cancel
Use the read command:
read
echo Would you like to install? "(Y or N)" read x # now check if $x is "y" if [ "$x" = "y" ]; then # do something here! fi
and then all of the other stuff you need