The >> will certainly work, but not the $huhu. However, by redirecting to /var/log/messages will cause the entry to be inserted without a date stamp. Use the logger(1) command: echo "huhu" | logger You may want to set a priority to the message with the -p option. On 6 Sep 2000, at 21:08, Bruce wrote:
This may be an error. Try the command echo "$huhu" >> /var/log/messages <-- NOTE the >> See what happens! There may be nothing there. Regards, Bruce
tabanna tapped away at the keyboard with:
. . . any ideas, please, why, my <echo "huhu"> , inserted in this Klaus Franken script, does NOT run ?
[snip]
echo "huhu" > /var/log/messages
Don't do that... syslogd will probably over-write it.
See manual entry for 'logger' for the cooperative method of logging using syslog.
-- Bernd Felsche - Innovative Reckoning Perth, Western Australia
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
-- Jerry Feldman Contractor, eInfrastructure Partner Engineering 508-467-4315 http://www.testdrive.compaq.com/linux/ Compaq Computer Corp. 200 Forest Street MRO1-3/F1 Marlboro, Ma. 01752 -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq