mozinfo: 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/bin/mozinfo - from package: python-mozinfo

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