getenforce Command Examples

Get the current mode of SELinux (i.e. enforcing, permissive, or disabled). See also: setenforce, semanage-permissive. More information: https://manned.org/getenforce.

getenforce