How to broadcast using wall

There are times when you wan to send a message to the users logged in and using a server machine. The classic wall command is useful for that scenario. The message you send will appear at every interactive shell of every user on the machine. The best thing about this command is that no special chat or messenger client is required.

  • Wall is a classic Unix command and should be installed as part of the bsdutils package. In case you don’t have it:
$ sudo apt install bsdutils
  • Broadcasting a message is easy:
$ wall "hello folks, server will be shutdown at 1PM"

It would have been nice if this command could be used to address one specific user or a subset of users, but that is not possible.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.