From Omnia
Jump to navigation Jump to search

Send a message to all logged in users in Linux Terminal

wall "System will go down for 2 hours maintenance at 13:00 PM"

Skip the banner:

wall -n "message"

To send a message to a specific user:

# see who is logged in
write root pts/2	#press Ctrl+D  after typing the message. 

ref [1]