i.photo.rectify: 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/i.photo.rectify - 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/i.photo.rectify - from package: grass-core

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