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:

StaticImage

  import React , { useEffect , useRef } from "react" import { StaticImage } from "gatsby-plugin-image" impor...