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.
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.
Trong công nghệ và lập trình, Anti-pattern (mẫu phản diện) là những giải pháp bề ngoài có vẻ hiệu quả để giải quyết một vấn đề phổ biến, ...
Không có nhận xét nào:
Đăng nhận xét