resample_tracks: 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/lib/mrtrix/bin/resample_tracks - from package: mrtrix

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