[NBLUG/talk] System Message

Lincoln Peters sampln at sbcglobal.net
Tue Feb 15 16:02:54 PST 2005


On Tue, 2005-02-15 at 15:58 -0800, Walter Hansen wrote:
> I thought there was a way to send a system message to all users, but I
> can't seem to find it now that I have a use for it. I can do it with a
> shutdown -k now "message", but it really implies that the system is going
> to go down. I'd rather just broadcast my "message". Yes, I've tried google
> till I'm blue in the face.

Use the "wall" command.  Either enter your message at standard input
(you can also pipe the results of another program into wall) or direct
the program to read the message from a text file.

Try "man wall" for more information.

---
Lincoln Peters
<sampln at sbcglobal.net>

BOFH excuse #284:

Electrons on a bender





More information about the talk mailing list