cgrep: 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/cgrep - from package: codesearch

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