Date: Sun, 23 Oct 2005 12:35:40 -0500 From: Eric F Crist <ecrist@secure-computing.net> To: David Kirchner <dpk@dpk.net> Cc: free bsd questions <freebsd-questions@freebsd.org> Subject: Re: writing to syslog from a shell script? Message-ID: <57D5EF6A-F685-4B56-850E-3A28B44A8188@secure-computing.net> In-Reply-To: <35c231bf0510230942x5ec4f65av941857bb211a9d04@mail.gmail.com> References: <BB8A9D7C-037B-433A-BEB1-AC930EB3BCB1@secure-computing.net> <35c231bf0510230942x5ec4f65av941857bb211a9d04@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Oct 23, 2005, at 11:42 AM, David Kirchner wrote: > On 10/23/05, Eric F Crist <ecrist@secure-computing.net> wrote: > >> How could I write an entry to syslog from a shell script. For >> example, I want to write an entry stating that a command worked or >> didn't work, along with an error message. >> > > Check out logger(1) Thanks! That does exactly what I need! _______________________________________________________ Eric F Crist "I am so smart, S.M.R.T!" Secure Computing Networks -Homer J Simpson
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57D5EF6A-F685-4B56-850E-3A28B44A8188>