External Email - Use Caution The output shows the command running on Ubuntu 18 linux and getting an error from the shell for a bad file descriptor (fd),Linux holowach 5.3.0-53-generic #47~18.04.1-ubuntu SMP Thu May 7 13:10:50 UTC 2020 x86_64 x85_64 x86_64 GNU/Linuxsh: 1: Syntax error: Bad fd numberThat could be an issue with the shell on Ubuntu. On Ubuntu the default “sh” in PATH, $ which sh/bin/sh - is usually a soft link to the minimal “dash” shell and not a more complete shell like the “bash” shell. $ ls -l /bin/shlrwxrwxrwx 1 root root 4 Jan 3 2020 /bin/sh -> dash*
I would try using the bash shell, e.g., type “bash” in your terminal window and then run the command that produced the error, $ bashyourhostname[0]:~$… run your command ... If that fixes the issue, you might consider changing the /bin/sh link to point to bash instead of dash. But you will need sudo/root privileges to do that, e.g., $ cd /bin$ sudo rm sh$ sudo ln -s bash sh - R. On Jan 18, 2023, at 14:36, Alexopoulos, Dimitrios <dimitriosalexopou...@wustl.edu> wrote:
_______________________________________________ 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.