If you are system Administrator, you know at times you need to send out a broadcast message to all logged in users like when you need to reboot a server and hence warning users to log off or face losing their work and data.
How do you do it?
This should work in most if not all distros. You can use the “wall” command to send a brodcast message to all users currently logged onto the system
Syntax:
# wall -n
Example:
# wall -n "Server shutting down in 5 minutes. Please save work and log off immediately"
The “-n” switch supresses the defaule banner displayed by wall instead printing “Remote Broadcast Message”
Do you know another geeky way? Why not add a comment and we can update that too.