pilot-debugsh: 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/pilot-debugsh - from package: pilot-link

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/pilot-debugsh - from package: pilot-link

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