v.surf.idw: 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.surf.idw - 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.surf.idw - from package: grass-core

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