badblocks: 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 CentOS possible default full paths are:

/sbin/badblocks - from package: e2fsprogs

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/sbin/badblocks - from package: e2fsprogs
/usr/lib/debug/sbin/badblocks - from package: e2fsprogs-dbg

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