Linux command
mesg 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Example
mesg
Disallow
mesg n
Allow
mesg y
Example
mesg --verbose
说明
mesg controls whether other users can send messages to your terminal using the write command. Without arguments, it displays the current setting.
参数
- y
- Allow messages from other users
- n
- Disallow messages from other users
- -v, --verbose
- Print warning if not executed from terminal
FAQ
What is the mesg command used for?
mesg controls whether other users can send messages to your terminal using the write command. Without arguments, it displays the current setting.
How do I run a basic mesg example?
Run `mesg` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does y do in mesg?
Allow messages from other users