Re: using date command to get yesterday's date

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux