Software >> OS >> Unix >> Linux >> Oracle Linux >> How to check whether SELINUX is enabled or not

Either

(1)  look for SELINUX value in  /etc/selinux/config

enabled
SELINUX=enforcing

disabled
SELINUX=enforcing


(2)  run getenforce

[root@localhost ~]# getenforce
Enforcing