mesg
Check or set a terminal's ability to receive messages from other users, usually from the
writecommand. See also:write,talk. More information: https://manned.org/mesg.1p.
- Check terminal's openness to write messages:
mesg
- Disallow receiving messages from the
writecommand:
mesg n
- Allow receiving messages from the
writecommand:
mesg y
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
