This commit is contained in:
fofolee
2019-04-21 11:50:48 +08:00
parent 359d29ee0b
commit 38dcd51d8a
6901 changed files with 258583 additions and 2326828 deletions

View File

@@ -1,12 +1,12 @@
<h1 id="mesg">mesg</h1>
<p>设置当前终端的写权限</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>mesg命令</strong> 用于设置当前终端的写权限即是否让其他用户向本终端发信息。将mesg设置y时其他用户可利用write命令将信息直接显示在您的屏幕上。</p>
<h3 id="语法">语法</h3>
<pre><code class="language-bash">mesg(参数)</code></pre>
<h3 id="参数">参数</h3>
<p>y/ny表示运行向当前终端写信息n表示禁止向当前终端写信息。</p>
<h3 id="实例">实例</h3>
<pre><code class="language-bash">[root@localhost ~]# mesg y #允许系统用户将信息直接显示在你的屏幕上。
[root@localhost ~]# mesg n #不允许系统用户将信息直接显示在你的屏幕上。</code></pre>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->
<h1 id="mesg">mesg</h1>
<p>设置当前终端的写权限</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>mesg命令</strong> 用于设置当前终端的写权限即是否让其他用户向本终端发信息。将mesg设置y时其他用户可利用write命令将信息直接显示在您的屏幕上。</p>
<h3 id="语法">语法</h3>
<pre><code class="language-bash">mesg(参数)</code></pre>
<h3 id="参数">参数</h3>
<p>y/ny表示运行向当前终端写信息n表示禁止向当前终端写信息。</p>
<h3 id="实例">实例</h3>
<pre><code class="language-bash">[root@localhost ~]# mesg y #允许系统用户将信息直接显示在你的屏幕上。
[root@localhost ~]# mesg n #不允许系统用户将信息直接显示在你的屏幕上。</code></pre>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->