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

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

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