APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

write to all users


© May 2019 Anthony Lawrence

What is this stuff?

If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):



Date: Wed, 05 Sep 2001 06:41:50 -0400
From: Tony Lawrence <tony@aplawrence.com>
Subject: Re: Broadcast message

Keith McLeod wrote:

> To the question....from time to time I have to bring down the server and
> must call each user to warn them to find a stopping point...Do you know
> of any commands that I can use to broadcast a message to all users on
> the system?  Our software support guys did not have an answer for this
> one...thought you might


The "wall" command does that.

Login as root, type "wall" <ENTER>, then whatever you want to say (multiple lines are OK), follwed by <ENTER> and then CTRL-D

Note that users may not receive the message - if they have "msg" set to "n" they won't see it and if their screen updates before they notice this, they won't see it either.

The length of the message will probably be limited to something less than 25 lines. You may be able to specify that you only want to write to a certain group; check the man/info page.

As root, you can just blast whatever you want to users terminal devices - not very friendly. At most places, somebody picks up the phone and does a loudspeaker announcement or sends email instead.

I suggest Unix for the Impatient as a good book for this sort of thing.


Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

->
-> write to all users ––>Re: Broadcast message


Inexpensive and informative Apple related e-books:

Photos for Mac: A Take Control Crash Course

Take Control of OS X Server

Take Control of Preview

El Capitan: A Take Control Crash Course

Take Control of Pages




More Articles by © Tony Lawrence




Printer Friendly Version

Have you tried Searching this site?

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more.

Contact us


Printer Friendly Version





The activity of "debugging", or removing bugs from a program, ends when people get tired of doing it, not when the bugs are removed. (Datamation)




Linux posts

Troubleshooting posts


This post tagged:

Administration

SCO_OSR5

Shell



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode





SCO Unix Sales, Support, & Service

Phone:  707-SCO-UNIX (707-726-8649Toll Free: 833-SCO-UNIX (833-726-8649)
www.SCOsales.com