bam: 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:

/usr/bin/bam - from package: bam

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

On Debian possible default full paths are:

/usr/bin/bam - from package: bam

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