Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: "John Sheldrake" <ajs@tandj.freeserve.co.uk>
Subject: Re: vdump of root ..et al
Date: 2000/02/14	[thread overview]
Message-ID: <888ph8$mir$1@newsg4.svr.pol.co.uk> (raw)
In-Reply-To: 38A54010.B4FE207C@dassic.com

>> 4) bonus question: I need to get "yesterday's" date for ksh scripts....
any
>> ideas?
>
>date --date '1 day ago'
>
>or
>
>date --date '-24 hours'
>
>or
>
>date --date '-1 day'
>
>
>I don't remember using it on Digital Unix, but it works on Linux.
>
>
>l8r/Jspr

doesn't seem to work on DU but you could run a script like this

#!/bin/sh
TZ=GMT24
date


substitute GMT24 for whatever your TZ is normally and add 24hrs to it





      reply	other threads:[~2000-02-14  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-11  5:00 vdump of root ..et al HuBrIs
2000-02-12  5:00 ` Jesper Frank Nemholt
2000-02-14  5:00   ` John Sheldrake [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox