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

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