Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] Shell Script - Time Function


Steven Kerr <linux.com@xxxxxxxxxxxx> wrote:
> IS there an easy way to assign the time (# seconds since the 1970 (?)
> to a shell variable.

X=$(date +%s)
-- 
Debian GNU/Linux 2.1 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt