Alguém me consegue ajudar?
Running
Put the following somewhere in your shell setup file (.bashrc, .profile, .cshrc etc., depending on what shell you use), setting the "/usr/local/fsl" to wherever you have installed FSL:
bash / sh / ksh
FSLDIR=/usr/local/fsl
. ${FSLDIR}/etc/fslconf/fsl.sh
PATH=${FSLDIR}/bin:${PATH}
export FSLDIR PATH
tcsh / csh
setenv FSLDIR /usr/local/fsl
source ${FSLDIR}/etc/fslconf/fsl.csh
setenv PATH ${FSLDIR}/bin:${PATH}
To run the FSL tools from the command line, you can find the tools in $FSLDIR/bin. In general command-line programs are lower case (e.g. 'bet'). In general the GUI version is capitalised (e.g. 'Bet'), except on Mac, where '_gui' is appended because those file systems can't tell the difference between upper and lower case (e.g. 'Bet_gui').
To bring up a simple GUI which is just a menu of the main individual FSL GUI tools, just type fsl.
Como é que consigo criar este tal ficheiro, Bash? Há alguma maneira de conseguir fazer um atalho no ambiente de trabalho que me faça isto tudo até ao "just type fsl"?
Running
Put the following somewhere in your shell setup file (.bashrc, .profile, .cshrc etc., depending on what shell you use), setting the "/usr/local/fsl" to wherever you have installed FSL:
bash / sh / ksh
FSLDIR=/usr/local/fsl
. ${FSLDIR}/etc/fslconf/fsl.sh
PATH=${FSLDIR}/bin:${PATH}
export FSLDIR PATH
tcsh / csh
setenv FSLDIR /usr/local/fsl
source ${FSLDIR}/etc/fslconf/fsl.csh
setenv PATH ${FSLDIR}/bin:${PATH}
To run the FSL tools from the command line, you can find the tools in $FSLDIR/bin. In general command-line programs are lower case (e.g. 'bet'). In general the GUI version is capitalised (e.g. 'Bet'), except on Mac, where '_gui' is appended because those file systems can't tell the difference between upper and lower case (e.g. 'Bet_gui').
To bring up a simple GUI which is just a menu of the main individual FSL GUI tools, just type fsl.
Como é que consigo criar este tal ficheiro, Bash? Há alguma maneira de conseguir fazer um atalho no ambiente de trabalho que me faça isto tudo até ao "just type fsl"?