mhprofile: 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/share/doc/mh-book/examples/mh/bin/mhprofile - from package: mh-book

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