Write a Shell Script which will print the following menu and execute the given
task?
a) Display calendar of current month
b) Display today s date and time
c) Display usernames that are currently logged in the system
d) Display your name at given x, y position
e) Display your terminal number
echo "1. Display calendar of current month"
echo "2. Display today's date and time"
echo "3. Display usernames that are currently logged in the system"
echo "4. Display your name at given x, y position"
echo "5. Display your terminal number"
echo "Enter choice:"
read choice
case $choice in
1)
echo $(cal)
;;
2)
echo $(date)
;;
3)
echo $(whoami)
;;
4)
printf "%20s%30s\n" Maulik Trivedi
;;
5)
echo $(tty)
;;
esac