ECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 30, 2002 4:54 PM
> To: Stone, Timothy
> Subject: Re: scripting newbie has question...
>
>
> Tim,
>
> Will this help?
>
> Regards, Mike Klinke
>
>
> ---
> #!/bin/sh
> #
>
Mike and all,
Worked like a charm! Thanks!
Wishing you a happy new year!
Tim
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 30, 2002 4:54 PM
To: Stone, Timothy
Subject: Re: scripting newbie has question...
Tim,
Will this help?
Regards
Timothy,
You can set variables in your script to store the date information, like
this (sort of)
YR="2003"
MO="1"
Now your filename becomes "serverlog${MO}${YR}" in your script,
You can put the result of commands into variables in your script like
YR=`date` (those backticks make the shell se