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:
When I source it, it now says it cannot find the directory
and gives back the following answers:
I also tried doing "source SetUpFreeSurfer.sh" from the freesurfer directory and I got this response:

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 <fsbuild@contbay.com>
Enviado: segunda-feira, 29 de maio de 2023 22:27
Para: freesurfer@nmr.mgh.harvard.edu <freesurfer@nmr.mgh.harvard.edu>
Cc: phbarradas@hotmail.com <phbarradas@hotmail.com>
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 <phbarradas@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 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
Freesurfer@nmr.mgh.harvard.edu
MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer