r.random: 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/r.random - 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/r.random - from package: grass-core

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