wsconsole: 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/wsconsole - from package: perl-Protocol-WebSocket

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