hfs: 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/hfs - from package: hfsutils-tcltk

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