simple shell script
Hello all, I want to write a shell script that would greet you with 'Good Morning' if the time is between 12.00am to 11.59am, 'Good Afternoon' if the time is between 12.00pm to 4.59pm, 'Good Evening' if the time is between 5.00pm to 7.59pm and 'Good Night' if the time is between 8.00pm to 11.59pm.
How would i go about this???
I have basic knowledge of programming in c++, so hopefully i'll be able to catch on!!
any help would be greatly appreciated!