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

12 lines
767 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="getenforce">getenforce</h1>
<p>显示当前SELinux的应用模式是强制、执行还是停用。</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>grename命令</strong> 可以重命名卷组的名称。</p>
<h3 id="语法">语法</h3>
<pre><code class="language-bash">getenforce</code></pre>
<h3 id="例子">例子</h3>
<p>查看当前SELinux的应用模式。</p>
<div class="sourceCode" id="cb2"><pre><code class="language-bash"><a class="sourceLine" id="cb2-1" data-line-number="1">[<span class="ex">root@localhost</span> ~]# getenforce</a>
<a class="sourceLine" id="cb2-2" data-line-number="2"><span class="ex">Enforcing</span></a></code></pre></div>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->