Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Nov 2017 21:29:23 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: sh script echo to  syslog
Message-ID:  <20171108202923.GA2753@c720-r314251>
In-Reply-To: <5A036890.7090204@gmail.com>
References:  <5A036890.7090204@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--liOOAslEiF7prFVr
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

El d=C3=ADa mi=C3=A9rcoles, noviembre 08, 2017 a las 03:26:56p. m. -0500, E=
rnie Luzar escribi=C3=B3:

> Hello list;
>=20
> I have a sh script that I use echo "message text" and it shows on the=20
> terminal console that started the script. Thats ok, but I would like to=
=20
> also have that same message posted the syslog.
>=20
> How would I code that?

What about 'man logger'?

	matthias
--=20
Matthias Apitz, =E2=9C=89 guru@unixarea.de, =E2=8C=82 http://www.unixarea.d=
e/  =E2=98=8E +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=C3=B3 la Guerra.
May 8, 1945: Who does not celebrate lost the War.

--liOOAslEiF7prFVr
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEXmn7rBYYViyzy/vBR8z35Hb+nREFAloDaSAACgkQR8z35Hb+
nRFIAQ//VOJQ/T2Do/G614PZD14mWlmta4jq9ezWKYP4rDTR2j39Fh1QuXxVdYM6
6OpDCfpghtQFQ/3YpGffw2bdVIbQflg4QcIYZ3hWU0riA3yFDI2T6TB5x4g/MNh2
RaO+lP0L0QvMcljvWbEaryW1fpFZJJ92iiy/JG6eOm5PWYcNiLmVSZs2CMcsaAtk
3lRvFzwuB5PYlV9kpc/MiF8KJNLPkimFjPJ00Y6qgzXk0cf1XQASzUTOU2Qk2GHD
1F2iX4aOLjhcPrTtCC50Vjb8OOA+H+HuQgKXIVoqAr9ahA8LOfDgoIfzYBSFUxof
m+Z2PYBPXnZ2hzJzoiTw1HF1vGue/mF1AIkCu76kkksNgaFo0+xh3+tSC4HuCfCb
0TMzAt26N303Vk6eozorI0KYkAVZh2cb31kAqS0aQnc0Txa5u1YjWdvUON0tS47Z
94W5hGuP1RiSj+MvT3Y2yB9HR6koftp00iQ5ZRpQMoAJ8/Xsr73M0g0SK/4vgB++
zZrcDFSJHSaP1a72BwS2Lrnpvqxcyz16U9VMoWpHVNYh+uegVaCjR97Bo8LW+8Wh
KVsLoIH9uX5OW0zdb6VmiJdfgucQSyKIyX+lxPr1OW5oID9FTTyicIPF8EOjBC+2
NWzazHT2b6HhF1j9r06LhVEMuXiuVKa8kAtaII4vKMeaIrOE9cU=
=8hhL
-----END PGP SIGNATURE-----

--liOOAslEiF7prFVr--



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