sh script echo to syslog

Ernie Luzar luzar722 at gmail.com
Wed Nov 8 20:26:59 UTC 2017


Hello list;

I have a sh script that I use echo "message text" and it shows on the 
terminal console that started the script. Thats ok, but I would like to 
also have that same message posted the syslog.

How would I code that?


Thanks for any help.




More information about the freebsd-questions mailing list