Svante Signell <[EMAIL PROTECTED]> wrote: > How to echo the current date and time to a log file? > > echo 'date:' ??? 'time:' ??? > file.log
There is no need to use echo. date +"date: %x time: %X" > file.log -- Thomas Weinbrenner
Svante Signell <[EMAIL PROTECTED]> wrote: > How to echo the current date and time to a log file? > > echo 'date:' ??? 'time:' ??? > file.log
There is no need to use echo. date +"date: %x time: %X" > file.log -- Thomas Weinbrenner