使用getenforce命令可以显示当前SELinux的应用模式,是强制、执行还是停用。 语法格式: getenforce [参数] 参考实例 显示SELinux的状态: [root@xtuos.com ~]# getenforce