gid: 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/gid - from package: id-utils

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