kevin_ma
asked on
Easy Question: Using the Date Command in a script
I'm new to linux scripting and Im trying to use the Date command in my script but can't completely figure out what the problem is. I'm trying to have it show the Month Day, Year. So for example today it would show Sep 15, 2004. I have it in my script as
date +%h +%d +%Y
but I get a "too many non-option arguments" error, and also how can I put in the comma to seperate the day from the year?
Thanks
date +%h +%d +%Y
but I get a "too many non-option arguments" error, and also how can I put in the comma to seperate the day from the year?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER