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

 Bash script and /bin/bash^M: bad interpreter: No such file or directory - Stack Overflow

Run following command in terminal

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

Then try

./scriptname.sh

It should work.

Không có nhận xét nào:

URL parameters with React Router

 https://ui.dev/react-router-url-parameters If you're reading this, you're probably familiar with the idea of function parameters. T...