Tente isto:
read -p "Do you want to continue? (y/N) " ANS
# if not, do something else, otherwise fall out the bottom
[ "$ANS" = "y" -o "$ANS" = "Y" ] && {
# commands here what to do if we stick around
echo "OK, we will continue"
# better put something else to do here or we'll fall out anyway.
}