Forrest logo
back to the msg tool

msg:tldr:221c4

msg: Send a message to all users of the current machine.
$ msg *
try on your machine

The command "msg *" is used in the command prompt or terminal to send a message to all the users currently logged into a computer or a network.

Here's how the command works:

  • "msg" is the command itself and is short for "message."
  • The asterisk "*" after the command is a wildcard character that signifies all users currently logged in.
  • The command usually requires administrative privileges to send messages to other users.

When this command is executed, a pop-up window or a message prompt will appear on the screen of each logged-in user, displaying the message that was sent. This can be useful for announcements, alerts, or communication purposes in a networked environment.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the msg tool