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

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