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

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