Get the current mode of SELinux (i.e. enforcing, permissive, or disabled).
See also: setenforce, semanage-permissive.
More information: https://manned.org/getenforce.
Display the current mode of SELinux:
getenforce
This document was created using the contents of the
tldr
project.