[SunRescue] FreeBSD date and Solaris date commands

Ken Hansen rescue at sunhelp.org
Wed Mar 7 20:16:32 CST 2001


the date command is for showing the current time, or, if you like, to set
the current time, per the man page...

     The date utility writes the date and time to standard output
     or  attempts  to  set the system date and time.  By default,
     the current date and time will be written.

Ken

----- Original Message -----
From: "Ron Rosson" <insane at oneinsane.net>
To: <rescue at sunhelp.org>
Sent: Wednesday, March 07, 2001 7:00 PM
Subject: [SunRescue] FreeBSD date and Solaris date commands


> 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.
> _______________________________________________
> Rescue maillist  -  Rescue at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/rescue




More information about the rescue mailing list