v.what.rast: 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/lib64/grass-6.4.4/bin/v.what.rast - from package: grass

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

On Debian possible default full paths are:

/usr/lib/grass64/bin/v.what.rast - from package: grass-core

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