Thanks Rick. Just what we needed. Next time I will read man page more thoroughly. ------------------ Marvin Blackburn Systems Administrator Glen Raven "He's no failure. He's not dead yet" --William Lloyd George > -----Original Message----- > From: redhat-list-admin@xxxxxxxxxx > [mailto:redhat-list-admin@xxxxxxxxxx]On Behalf Of rick henderson > Sent: Wednesday, October 08, 2003 9:02 AM > To: redhat-list@xxxxxxxxxx > Subject: Re: using date command to get yesterday's date > > > > > 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 Lloyd George > > > > I think that using bash > > date -d "-d day" > > will give you want you need > > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list