#!/bin/bash
#Using the bash select construct to generate a Menu
echo Select an option from the menu...
OPTIONS="Hello Quit Clear"
select opt in $OPTIONS; do
    if [ "$opt" = "Quit" ]; then
          echo Quitting from Menu
          exit
    elif [ "$opt" = "Hello" ]; then
          echo Hello World
    elif [ "$opt" = "Clear" ]; then
         echo Clearing Screen.....
         sleep 2
         clear
    else
         echo That was not a valid menu option !
         sleep 1
    fi
done