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

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

On Debian possible default full paths are:

/usr/bin/wc - from package: coreutils

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