Shell script to show calender

Rate this post

Use your vi  editor to create shell script, . 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”



Asterisk support


For any query or issue, feel free to discuss on

Leave a Reply

%d bloggers like this: