lsw: 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

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/lsw - from package: suckless-tools

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