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

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