esdsample: 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/esdsample - from package: esound-tools

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