sending a message to syslog

I am not sure how this is useful, but if you want to send a message to syslog, logger will do the trick.

From a terminal:

logger jumpin jack flash is a gas, gas, gas

tail /var/log/syslog

May 19 20:09:30 bernard chytraeus: jumpin jack flash is a gas, gas, gas

Apparently, quotes around whatever you have to say are unnecessary.

Leave a Reply

Your email address will not be published. Required fields are marked *