Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Nov 2017 15:26:56 -0500
From:      Ernie Luzar <luzar722@gmail.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   sh script echo to  syslog
Message-ID:  <5A036890.7090204@gmail.com>

next in thread | raw e-mail | index | archive | help
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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5A036890.7090204>