Yes. You'll need to construct a loop to test whether the response is y or n, of course.
Loops can be done like this:
Code:
while true
do
(some stuff to be done)
if [ some condition ]
then
break
fi
(some more stuff to be done, if you want)
done
You'll need to use the
read statement to input a line from the keyboard. For information on that, do this at the command line:
For general information on shell scripts, google this:
... and you'll get oodles of info on writing bash shell scripts.
Hope this gets you started. Come back with more specific questions if you stumble. (We all stumble.)