dke-questions > RE: Problems running in batch mode on linux
Oct 15, 2018  02:10 PM | David Lewis - Medical University of South Carolina
RE: Problems running in batch mode on linux
Hi Live,

It looks to me like your script runDKE_mTBI_test.sh is in DOS format, which has different end-of-line characters than Linux (or Unix) format. The ^M at the end of the /bin/bash line represents a carriage return, which is at the end of text files created on a Windows PC but not on text files created on a Linux computer.

If your Linux computer has a program dos2unix, you can use that to convert the script to Unix format so that it will run on your Linux computer. If not you might be able to open it in a text editor and save it in Unix format.

Best,
Dave

Threaded View

TitleAuthorDate
Live Eikenes Oct 3, 2018
Live Eikenes Oct 15, 2018
Corinne McGill Oct 15, 2018
Live Eikenes Oct 15, 2018
RE: Problems running in batch mode on linux
David Lewis Oct 15, 2018
Emilie McKinnon Oct 12, 2018
David Lewis Oct 3, 2018
Live Eikenes Oct 4, 2018