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

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