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

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