Program that will display user info

I need a simple program code that will display the following:
Hello, User!
Your home directory is home/name/User.
It is now DATESTRING

I need to output:
env_user(), env_home(), and env_time()

Any assistance would be appreciated.
Thanks
Last edited on
What OS are you using?
I'm using Redhat Linux
Topic archived. No new replies allowed.