mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-08 15:04:05 +08:00
12 lines
767 B
HTML
12 lines
767 B
HTML
<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/ -->
|