selinuxenabled man page

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


Indicates whether SELinux is enabled or disabled.

Exit Status

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


Dan Walsh, <>

See Also

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

Referenced By

getenforce(8), setenforce(8).

7 April 2004 SELinux Command Line documentation