sh script echo to syslog
Matthias Apitz
guru at unixarea.de
Wed Nov 8 21:42:16 UTC 2017
El día miércoles, noviembre 08, 2017 a las 03:26:56p. m. -0500, Ernie Luzar escribió:
> 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?
What about 'man logger'?
matthias
--
Matthias Apitz, ✉ guru at unixarea.de, ⌂ http://www.unixarea.de/ ☎ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
8. Mai 1945: Wer nicht feiert hat den Krieg verloren.
8 de mayo de 1945: Quien no festeja perdió la Guerra.
May 8, 1945: Who does not celebrate lost the War.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20171108/f28f0cbc/attachment.sig>
More information about the freebsd-questions
mailing list