Horje
/bin/bash^M: bad interpreter: No such file or directory Code Example
/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
bin/bash bad interpreter
#The ^M is a carriage return character. Linux uses the line feed character to mark the end of a line, whereas Windows uses the two-character sequence CR LF. Your file has Windows line endings, which is confusing Linux.
#remove the cariage character

sed -i -e 's/\r$//' NAME-OF-FILE.sh
bad interpreter: /bin/python3^M: no such file or directory
dos2unix FILENAME
/bin/bash^M: bad interpreter: No such file or directory
sed -i -e 's/\r$//' create_mgw_3shelf_6xIPNI1P.sh




Shell

Related
reinstal apache2 ubuntu Code Example reinstal apache2 ubuntu Code Example
unetbootin ubuntu install Code Example unetbootin ubuntu install Code Example
auth install laravel 8 Code Example auth install laravel 8 Code Example
install ionic globally Code Example install ionic globally Code Example
Habilitar la ejecución de scripts para Powershell Code Example Habilitar la ejecución de scripts para Powershell Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
14