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

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