cook_rsh: 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 Debian possible default full paths are:

/usr/bin/cook_rsh - from package: cook-rsh

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