I want the Menu to run once and then ask if the user wants it to run again, if they say yes it it continues to run until they say no. I saw some examples online but im not understanding how to implement it.
#Menu
echo "Menu"
echo "1. Display the message that indicates when the <script> command stared"
echo "2. Dispay the message that indicates when the <script> command terminated"
echo "3. game score"
read answer
if[[ $answer == 1 ]]; then
echo""
elif[[ $answer == 2 ]]; then
echo""
elif [[ $answer == 3]]; then
fi
echo "Do you want to repeat this routine?(Y/N)"
read yesno