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

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