writing to syslog from a shell script?

David Kirchner dpk at dpk.net
Sun Oct 23 09:42:58 PDT 2005


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)


More information about the freebsd-questions mailing list