getenforce: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/sbin/getenforce - from package: libselinux-utils

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/sbin/getenforce - from package: selinux-utils

You may install the required package with command apt-get install {package}
Error in other languages:
getenforce: bevel nie gevind nie
getenforce: comandă negăsită
getenforce: comando não encontrado
getenforce: commande introuvable
getenforce: command not found
getenforce: käsku ei ole
getenforce: không tìm thấy lệnh
getenforce: komanda nerasta
getenforce: Kommando nicht gefunden.
getenforce: kommandot finns inte
getenforce: komut yok
getenforce: nie znaleziono polecenia
getenforce: níor aimsíodh an t-ordú
getenforce: no se encontró la orden
getenforce: no s'ha trobat l'ordre
getenforce: opdracht niet gevonden
getenforce: parancs nem található
getenforce: perintah tidak ditemukan
getenforce: príkaz nenájdený
getenforce: příkaz nenalezen
getenforce: команда не найдена
getenforce: командата не е открита
getenforce: 命令找不到
getenforce: コマンドが見つかりません