is there a command to fetch month name in unix
try any of these:
date '+%m'
date '+%b'
date '+%B'
date '+%h'
check the man page on date for details
both
date +%h
and
date +%b
give short month (e.g. Aug)
date +%B
gives the long name (e.g. August)
try "man date" for other options