2019-04-21 11:50:48 +08:00

16 lines
907 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<h1 id="wall">wall</h1>
<p>向系统当前所有打开的终端上输出信息</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>wall命令</strong> 用于向系统当前所有打开的终端上输出信息。通过wall命令可将信息发送给每位同意接收公众信息的终端机用户若不给予其信息内容则wall命令会从标准输入设备读取数据然后再把所得到的数据传送给所有终端机用户。</p>
<h3 id="语法">语法</h3>
<pre><code class="language-bash">wall(参数)</code></pre>
<h3 id="参数">参数</h3>
<p>消息:指定广播消息。</p>
<h3 id="实例">实例</h3>
<pre><code class="language-bash">[root@localhost ~]# wall this is a test line
Broadcast message from root (pts/1) (Fri Dec 20 11:36:51 2013):
this is a test line</code></pre>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->