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

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