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

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