The easiest way on how to check SELinux ( Security Enhanced Linux ) operation mode is to use getenforce
command. This command without any options or arguments will simply print a current status SELinux operational mode.
This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-check-selinux-operational-mode