vi 파일명 -b 로 열어보면 이상한 문자가 있음
https://dptablo.tistory.com/m/238
/bin/bash^M: bad interpreter: No such file or directory
linux 환경에서 shell script 를 실행할 때 /bin/bash^M: bad interpreter: No such file or directory 오류가 발생하는 경우가 있습니다. 대개 shell script 를 windows 환경에서 생성을 하여 linux 로 보..
dptablo.tistory.com
'OS > linux-unix' 카테고리의 다른 글
line number(줄 번호) 보이기 (0) | 2020.11.19 |
---|---|
최근 접속 로그 (0) | 2020.11.16 |
ssh 사용시 암호 대신 SSH key로 인증하기 & scp & sshpass (0) | 2020.08.31 |
curl 사용법 & curl 명령어로 파일 업로드 - 파일 업로드만 되나 봄 (0) | 2020.08.28 |
리눅스 종료 코드 (0) | 2020.07.31 |