correct_dwi_distortion_and_motion: 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/cmtk/bin/correct_dwi_distortion_and_motion - from package: cmtk

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