uTools-Manuals/docs/linux/domainname.html
2019-04-21 11:50:48 +08:00

23 lines
938 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="domainname">domainname</h1>
<p>显示和设置系统的NIS域名</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>domainname命令</strong> 用于显示和设置系统的NIS域名。</p>
<h3 id="语法">语法</h3>
<pre><code class="language-bash">domainname(选项)(参数)</code></pre>
<h3 id="选项">选项</h3>
<pre><code class="language-bash">-v详细信息模式
-F指定读取域名信息的文件。</code></pre>
<h3 id="参数">参数</h3>
<p>NIS域名指定要设置的NIS域名。</p>
<h3 id="实例">实例</h3>
<pre><code class="language-bash">[root@AY1307311912260196fcZ ~]# domainname -v
getdomainname()=`(none)&#39;
(none)
[root@AY1307311912260196fcZ ~]# domainname
www.jsdig.com
[root@AY1307311912260196fcZ ~]# domainname -v
getdomainname()=`www.jsdig.com&#39;
www.jsdig.com</code></pre>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->