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

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

On Debian possible default full paths are:

/usr/bin/lndir - from package: xutils-dev

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