> It's GOT to be simple, but I can't figure it out.
> 
> I just want to pass the current date to a variable in a bash script.
> 
> Do I use the 'date' command?  How do I pass output from the 'date'
> command to a variable, say $DATE,
> in a bash script?

You're definately on the right track:

DATE=`date`

_____________________   _                    _   _________________________
         Michael Rice  |_|    Collective    |_|  http://www.colltech.com
   [EMAIL PROTECTED]    |_  Technologies  _|    8007598888/8019292 pager 
           Consultant      []            []      "The Power Of Many Minds"   

---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]

Reply via email to