Shell script to show calender
Use your vi editor to create shell script, script.sh . This script runs three echo commands and shows the use of variable evaluation and command substitution. It also prints the calender of the current month.
#!/bin/sh
echo “Today’s date : `date` ”
echo “This month’s calender:”
cal `date “+%m 20%y`
echo “My shell : $SHELL”