writing to syslog from a shell script?

Eric F Crist ecrist at secure-computing.net
Sun Oct 23 10:36:15 PDT 2005


On Oct 23, 2005, at 11:42 AM, David Kirchner wrote:

> On 10/23/05, Eric F Crist <ecrist at 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



More information about the freebsd-questions mailing list