[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Usage of echo

On Sun, Nov 26, 2000 at 20:16:50 +0100, Svante Signell wrote:
> How to echo the current date and time to a log file?
> echo 'date:' ??? 'time:' ??? > file.log

echo 'date, time:'   `date`     > file.log
     ^            ^  ^    ^
     regular quotes  backquotes

ART  A friend of mine in Tulsa, Okla., when I was about eleven years old. 
I'd be interested to hear from him. There are so many pseudos around taking 
his name in vain. 
    - The Hipcrime Vocab by Chad C. Mulligan 

Reply to: