I'm trying to get yesterday's date in YYYYMMDD format.

Anyone know if RHES 4.x has GNU date that allows
yesterday=$(date -d "-1 day" '+%Y%m%d')



& if there's no GNU date, how do we go about achieving this?



Thanks

Sun
--
Linux-cluster mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-cluster

Reply via email to