리눅스13 Shell Script Error "/bin/bash^M: bad interpreter" 증상(Symptom) -bash: ./shellscipt.sh: /bin/bash^M: bad interpreter: No such file or directory 해결(Solution) vi -b shellscript.sh :%s/^M//g :wq ※ ^M is typing as "Ctrl+V"+"Ctrl+M", not "Shift + 6"+"M" System/Linux 2018. 3. 12. 이전 1 2 다음 💲 추천 글