nesdoc: 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/nesdoc - from package: tinyos-tools

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