d.linegraph: 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/d.linegraph - 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/d.linegraph - from package: grass-core

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