UNIX question
Posted in 1998
Steve Romankiw — — source: Informix-list mailing list archive (1991-1998)
As root, you can send messages to the console by typing "echo hello >
/dev/console".
When I try this as any user besides root, I get a message similar to
"/dev/console: cannot create".
As someone other than root, how would you do something like:
<<snip>>
example# sendtoconsole hello # send
message to console
example# cat sendtoconsole
echo $1 > /dev/console
<<snip>>
Thanks in advance.
--
-----------------------------------------------------------------
Steve Romankiw +
Executive Risk Inc. +
DBA + email: sromankiw@execrisk.com
82 Hopmeadow Street + work: (860) 408-2474
Simsbury,CT 06070 + fax: (860) 408-2139
-----------------------------------------------------------------