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

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