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.
echo “Today’s date : `date` ”
echo “This month’s calender:”
cal `date “+%m 20%y`
echo “My shell : $SHELL”
For any query or issue, feel free to discuss on http://discuss.eduguru.in