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

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