Answers for "''/bin/bash^m: bad interpreter: no such file or directory"

8

/bin/bash^M: bad interpreter: No such file or directory

if you cannot run a script called yourScript.sh
run the following command in terminal

sed -i -e 's/\r$//' yourScript.sh

Then your script should run
Posted by: Guest on August-13-2021
1

bad interpreter: /bin/python3^M: no such file or directory

dos2unix FILENAME
Posted by: Guest on July-10-2020

Code answers related to "''/bin/bash^m: bad interpreter: no such file or directory"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language