DOKK / manpages / debian 11 / selinux-utils / selinuxenabled.8.en
selinuxenabled(8) SELinux Command Line documentation selinuxenabled(8)

selinuxenabled - tool to be used within shell scripts to determine if selinux is enabled

selinuxenabled

Indicates whether SELinux is enabled or disabled.

It exits with status 0 if SELinux is enabled and 1 if it is not enabled.

Dan Walsh, <dwalsh@redhat.com>

selinux(8), setenforce(8), getenforce(8)

7 April 2004 dwalsh@redhat.com