Log the output of BASH scripts to a Syslog-like format
Not sure what you are after exactly. Do you want the script results sent to syslog? Do you want the script to send messages to syslog?
There are a few ways of doing this that I can think of off the top of my head.
You can just send a message to the syslog port of your server using net-cat like this:
nc -w0 -u <syslog ip> 514 <<< "SOURCELABEL SYSLOGTAGLABEL This is a message for syslog"
Or you could send the output directly to the logger itself:
echo "This is a test" | logger -i
Is this what you want?
So I realise my title may be rather vague but I honestly don't know how else to word it. Essentially what happened was I was having difficulty installing Ubuntu onto ...
Hey all, I have a problem with my Dell Latitude laptop. The laptop is 3 years old, and worked fine 2 days ago. Yesterday when I went to turn it ...
I've been using rsync and or luckybackup for a while now to sync my desktop's music library to my micro sd card for my digital music player. Today I noticed ...