Thanks for you reply!
It is exactly what we need.
- Original Message -
From: "Anthony E. Greene" <[EMAIL PROTECTED]>
Date: Thursday, October 9, 2003 9:22 am
Subject: Re: using date command to get yesterday's date
> On 08-Oct-2003/08:50 -0400, Marvin Blackburn
>
On 08-Oct-2003/08:50 -0400, Marvin Blackburn <[EMAIL PROTECTED]> wrote:
>Is there anyway to use `date` to calculate yesterdays date.
>If not, is there any other way to do this easily?
date -d yesterday
or
date -d '1 day ago'
The latter syntax is more flexible. I often use it in scripts.
Ton
> [mailto:[EMAIL PROTECTED] Behalf Of rick henderson
> Sent: Wednesday, October 08, 2003 9:02 AM
> To: [EMAIL PROTECTED]
> Subject: Re: using date command to get yesterday's date
>
>
>
>
> On Wed, 2003-10-08 at 07:50, Marvin Blackburn wrote:
> > Is there a
On Wed, 2003-10-08 at 07:50, Marvin Blackburn wrote:
> Is there anyway to use `date` to calculate yesterdays date.
> If not, is there any other way to do this easily?
>
> --
> Marvin Blackburn
> Systems Administrator
> Glen Raven
> "He's no failure. He's not dead yet" --William
Is there anyway to use `date` to calculate yesterdays date.
If not, is there any other way to do this easily?
--
Marvin Blackburn
Systems Administrator
Glen Raven
"He's no failure. He's not dead yet" --William Lloyd George
--
redhat-list mailing list
unsubscribe mailto:[EMAIL P