[SunRescue] FreeBSD date and Solaris date commands

Ron Rosson rescue at sunhelp.org
Wed Mar 7 18:00:05 CST 2001


Heya...

I am still leaning new things with my ultra1 running solaris 2.8. My
latest hangup is the date command.

On a FreeBSD box when I run:
        date -v-1d +%m-%d-%Y
I get:  
        03-06-2001

On my Solaris 2.8 box it dont work. Basically I just need it to tell me
what yesterdays date was.

TIA
-- 
------------------------------------------------------------------------------
Ron Rosson          			      ... and a UNIX user said ...
The InSaNe One                 			      rm -rf *
insane at oneinsane.net     	            and all was /dev/null and *void()
------------------------------------------------------------------------------
               Speak softly and carry a cellular phone.



More information about the rescue mailing list