cleanup.sh: 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/share/doc/r-cran-qtl/examples/bin/scripts/cleanup.sh - from package: r-cran-qtl

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