bat: 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/bat - from package: bacula-console-bat
/usr/sbin/bat - from package: bacula-console-bat

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

On Debian possible default full paths are:

/usr/bin/bat - from package: bacula-console-qt
/usr/sbin/bat - from package: bacula-console-qt
/usr/bin/bat - from package: bareos-bat
/usr/lib/debug/usr/sbin/bat - from package: bacula-console-qt-dbg

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