Linux wall command
The Linux wall command sends a message to every logged-in user whose mesg is set to yes. When using the terminal interface as standard input, the message must be terminated with EOF (usually Ctrl+D).
Permissions required: all users.
Syntax
wall [ message ]
Example
Send the message "hi" to every user
wall hi
Broadcast message
# wall Ilove
Broadcast message from root (pts/4) (Thu May 27 16:41:09 2014):
Ilove
Linux Command Reference