# mesg > 检查或设置终端接收来自其他用户消息的能力,通常是来自 `write` 命令。 > 另见 `write`,`talk`。 > 更多信息:。 - 检查终端是否允许接收消息: `mesg` - 禁止接收来自 write 命令的消息: `mesg n` - 允许接收来自 write 命令的消息: `mesg y`