g.gisenv: 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/g.gisenv - 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/g.gisenv - from package: grass-core

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