Simple shell script to get user confirmation

echo “Do You wish to Continue ?<y/n>: ”
read response
if [ $response = “y” ];then
echo “You entered yes”
echo “Please Wait..Window Will Close When Done”
sleep 10

………………
echo “Done…Exiting Now”
sleep 2

………………….

exit
fi