External Email - Use Caution Try using $ instead of # to tell the linux shell to expand an environment variable, e.g., here to the path of where freesurfer was installed. echo $FREESURFER_HOME<output will be path to where installed> source $FREESURFER_HOME/SetUpFreeSurfer.sh
- R. On May 29, 2023, at 07:52, Pedro henrique barradas <phbarra...@hotmail.com> wrote: External Email - Use Caution Hi everyone!I am trying to run freesurfer on a windows machine using ubuntu but I am having trouble with the source commandWhen I try to source freesurfer i get the following message:source #FREESURFERHOME/SetUpFreeSurfer.sh-bash: source: filename argument requiredsource: usage: source filename [arguments]Thank you very much_______________________________________________Freesurfer mailing listfreesur...@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer​
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline <https://www.massgeneralbrigham.org/complianceline> . Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.