grephistory: 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/lib/news/bin/grephistory - from package: inn2
/usr/lib/news/bin/grephistory - from package: inn

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