ptsb: 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 Debian possible default full paths are:

/usr/bin/ptsb - from package: libfinance-bank-ie-permanenttsb-perl

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