Saturday, July 07, 2007

Send Message to Users with Write All Command

When you need to send a real-time message to everyone, you can use the write all or wall command. It is normally used when there is a need to send an urgent message to everyone who is currently logged onto the system. I use it sparingly because it can be somewhat annoying to the enduser and you want users to pay attention to it. It sends the message immediately to the console. Here is its syntax.

This message is just for illustration purposes and hardly constitutes an emergency.

# wall
I hope everyone had a great and safe 4th of July weekend.
control+d

3 comments:

Anonymous said...

very nice site, I would like to add a few if you'd like:

for gamers:

command to change vedio settings or to find out what card:

# -m64config -res ( ) -depth

to check

# m64config -prconf

did not see and example for a global replace for vi:

# :/$s/(old)/(new) /g

regards

Rod

the great quux said...

wall is supposed to let you send messages to members of a specific group only using 'wall -g groupname' but this is broken in all versions of Solaris i've tested (8-10). is it fixed on opensolaris?

esofthub said...

the great quux, I don't know if it's fixed in opensolaris.