tos-check-env: 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

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/tos-check-env - from package: tinyos-tools

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