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

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