edit: 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/edit - from package: mime-support

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