hid-replay: 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/hid-replay - from package: hid-replay

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