[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How do you broadcast a message?



William Jensen wrote:

> Greetings,
>
> When you issue the reboot command the system does a system wide message
> saying the machine is rebooting NOW.  How would I send a message to all
> the people that are on the system?  I assume this would need to be done
> as root?

you want 'wall'

either wall [file], echo message | wall,  or wall and then type your message and
then ctrl-d

A user can wall to anyone that doesn't deny messages(mesg n).  As you can guess
this could be annoying/abused =)

Especially when combined with figlet...

mike



Reply to: