Send a message to all active users on system with wall
Wall is a great utility for sysadm which allows them to send a message to all currently opened shells. Here’s a common use :
wall Rebooting server in 5 mins, please save works and get the hell out of here
Any currently connected user will receive a message like
Broadcast message from sysadm (pts/5) (Wed Jul 29 11:50:59 2009): Rebooting server in 5 mins, please save works and get the hell out of here