Write a menu driven program to display a menu of options and depending upon the user’s choice execute the associated command.

until [ “$selection” -eq “0” ]; do
 echo ” Program Menu “
 echo ” 1. Display Free disk space “
 echo ” 2. Display Free memory “
 echo ” 3. Disk Usage “
 echo ” 4. List Your Processes “
 echo ” 5. Who is connected to the system? “
 echo ” 0. Exit “
 read selection
 case $selection in
            1 ) df
            ;;
            2 ) free
            ;;
            3 ) du
            ;;
            4 ) ps
            ;;
            5 ) who
            ;;
            0 ) exit
            ;;
            * ) echo ” Please enter correct choice “
 esac
done