I'm trying to create a shell script with a read
command, so that when I run the script, it will ask the user a yes- or no-question. If the user types yes
, the script continues, and if she writes no
it stops.
What is the syntax for using the read
command in such a way?
I am running Ubuntu 13.04.