External Email - Use Caution Hello Thank you for the reply.
I tried to re-install the file but I have run into 2 problems. When I attempt to export $FREESURFER_HOME=$HOME/freesurfer it tells me: * bash: export: ยด#HOME/freesurfer=root/freesurfer`: not a valid identifier When I source it, it now says it cannot find the directory and gives back the following answers: * bash: /root/freesurfer/SetUpFreeSurfer.sh: No such file or directory I also tried doing "source SetUpFreeSurfer.sh" from the freesurfer directory and I got this response: * bash: /root/freesurfer/FreeSurferEnv.sh: No such file or directory Also, When I type echo $FREESURFER_HOME I get root/freesurfer But when I type pwd $FREESURFER_HOME it gives me c/mnt/Users/ASUS/Downloads/freesurfer ________________________________ De: fsbuild <[email protected]> Enviado: segunda-feira, 29 de maio de 2023 22:27 Para: [email protected] <[email protected]> Cc: [email protected] <[email protected]> Assunto: Re: [Freesurfer] source freesurfer error 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 <[email protected]> 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 command When I try to source freesurfer i get the following message: source #FREESURFERHOME/SetUpFreeSurfer.sh -bash: source: filename argument required source: usage: source filename [arguments] Thank you very much _______________________________________________ Freesurfer mailing list [email protected]<mailto:[email protected]> https://secure-web.cisco.com/1FS-NaUL5E3F2p7AmvVPfBS4wyBBufMAQFPGProo9Yc9fHqR8rpLX60Djyj49Jy0fWooXzWPtZudEpGMgeBhrwSt6ENOTLzetH6QahOrUH1eV4vH-reSssRl-Wu9LKCpGnQ_bMRncmr6kf923G_5rywXF6r3K18epQZ4i6PEDQMCZ2Yav9vWL3qLIaZLOdMWQsBZaCAxkCuhYuZDIXjbLUqvFqY26KYQZQjb2gNlVi0tlp-8TvizUnTAjSN5RGjMA0kS3qoQ1nfkCLxVtQYy-kgfBTRhEDrhvQwJ7DglJJ82UvrlrSqK_huTdK9wV2AZ5y8bMjVl3ZiWfZrabNi6RefJj1mzBsP0pRFaALvqPuUc/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer
_______________________________________________ Freesurfer mailing list [email protected] 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.
