csmock: 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/csmock - from package: csmock-common

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