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

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