[KLUG Members] script getting date variable

members@kalamazoolinux.org members@kalamazoolinux.org
Wed, 21 Aug 2002 13:32:49 -0400


>I want to have a shell script create a file whose name includes the date. 
>The script currently does everything but get the date.  I could grab the
>output
>of the date command, but that looks wonky.  How can I get a DDMMYYYY or
>something similar?

"man date"

it will write the date in any and every format you can imagine.