Tugger the SLUGger!SLUG Mailing List Archives

[SLUG] sending output to both screen and log file, how ?


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 ?




Voytek