Re: writing to syslog from a shell script?

2005-10-23 Thread Eric F Crist

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


On 10/23/05, Eric F Crist <[EMAIL PROTECTED]> 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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: writing to syslog from a shell script?

2005-10-23 Thread David Kirchner
On 10/23/05, Eric F Crist <[EMAIL PROTECTED]> 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)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


writing to syslog from a shell script?

2005-10-23 Thread Eric F Crist
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.


TIA

___
Eric F Crist  "I am so smart, S.M.R.T!"
Secure Computing Networks  -Homer J Simpson

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"