autogrid4: 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 Debian possible default full paths are:

/usr/bin/autogrid4 - from package: autogrid

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