Print Message According to System's Time --Shell Script

Print Message According to System's Time --Shell Script

Write a shell script that prints the message "Good Morning", "Good After Noon", "Good Evening", or " Good night " according to the system's time.#!/bin/basht=""t=`echo $(date +"%H") `if [ $t -le 10 -a $t -ge 6 ] then echo " Good morning "elif...

Close