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

13 lines
666 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="ifcfg">ifcfg</h1>
<p>置Linux中的网络接口参数</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>ifcfg命令</strong> 是一个Bash脚本程序用来设置Linux中的网络接口参数。</p>
<h3 id="语法">语法</h3>
<pre><code class="language-bash">ifcfg(参数)</code></pre>
<h3 id="参数">参数</h3>
<pre><code class="language-bash">网络接口:指定要操作的网络接口;
add/del添加或删除网络接口上的地址
ip地址指定IP地址和子网掩码
Stop停用指定的网络接口的IP地址。</code></pre>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->