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

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

On Debian possible default full paths are:

/usr/bin/resize - from package: xterm

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