---
category: Messaging
description: Send a message to a user or channel
---
# /msg
## Syntax
/msg <target> <message>
## Description
Send a private message to a user or channel. For private messages, a
query window is automatically opened and focused. Messages sent to
channels appear in the channel buffer.
## Examples
/msg NickServ IDENTIFY mypassword
/msg friend Hey, what's up?
/msg #linux Hello everyone
## See Also
/notice, /me