On Wed Aug 18, 2004 at 22:06:54 +0000, Voytek Eymont wrote: >I have something like: > >echo "$now $0 executed for $DOMAIN on in $exectime sec" >> /var/log/awstats.log > >how can I also send it to screen without repeating the echo line ?
man tee echo "$now $0 executed for $DOMAIN on in $exectime sec" | tee /var/log/awstats.log -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
