d.where: 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/d.where - 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/d.where - from package: grass-core

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