editres: 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/editres - from package: xorg-x11-resutils

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

On Debian possible default full paths are:

/usr/bin/editres - from package: x11-utils

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