if [ `date +%H` -lt 12 ]
then
echo "Good Morning"
elif [ `date +%H` -lt 16 ]
then
echo "Good After Noon"
else
echo "Good evening"
fi
if [ `date +%H` -lt 12 ]
then
echo "Good Morning"
elif [ `date +%H` -lt 16 ]
then
echo "Good After Noon"
else
echo "Good evening"
fi