r.li.patchnum: 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.li.patchnum - 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.li.patchnum - from package: grass-core

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