SUMMARY: console messages

From: Jonathan.Loh@BankAmerica.com
Date: Tue Jun 08 1999 - 16:55:08 CDT


     Thank you for the responses.
As many of you pointed out:
echo "<message>" > /dev/console works
as well as
/usr/ucb/logger -p local0.err "<message>"
What I was looking for was a command to write to the console regardless of
whether or not someone was logged in.
The above to methods do not work if you are at the CDE login screen.

What I did was this. I took off dtlogin. put openwin for the user that
needed it.
And so now
echo "<message>" > /dev/console works in both cases, the only case where we
may miss a message is when somone is logging in.

Jonathan.Loh@bankamerica.com on 06/08/99 10:49:50

To: sun-managers@sunmanagers.ececs.uc.edu
cc: (bcc: Jonathan Loh)
Subject: console messages

     How do I send messages to the console? I'm using Sol 2.6.



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:21 CDT