Code Yarns β€πŸ‘¨β€πŸ’»
Tech Blog ❖ Personal Blog

How to broadcast using wall

πŸ“… 2017-Dec-11 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ broadcast, wall ⬩ πŸ“š Archive

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.

$ sudo apt install bsdutils
$ 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.


Β© 2022 Ashwin Nanjappa β€’ All writing under CC BY-SA license β€’ 🐘 @codeyarns@hachyderm.io β€’ πŸ“§