:set fileforamt=unix
:set ff=unix
-------------------------------------
sed -i 's/\r$//' [파일명]
https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=muri1004&logNo=220690434778
[에러] ^M bad interpreter 에러 해결 방법
bash 스크립트 파일을 실행하려는데 에러가 난다. 에러메세지 $ ./run.sh bash: ./run.sh: /bin/bash...
blog.naver.com
https://gethlemn.tistory.com/66
/bin/bash^M: bad interpreter: No such file or directory 해결 방법
[원인] Window 환경에서 sh 작성 후, linux 환경에서 실행하여 발생한 문제이다. window에서 사용한 개행 문자가 linux에서는 인식되지 못해 발생하는 문제이다 [해결방법] 1. vi에서 ^M 삭제하기 (1) vi -b [
gethlemn.tistory.com
https://velog.io/@dailylifecoding/Git-Bash-Window-git-bash-vim-fileformat-change-to-dos
[Git Bash (Window)] vim의 fileformat=dos 변경 필요성과 방법
git bash 에 기본으로 내장된 vim 편집기의 fileformat을 window에 적합하게 변경헤보자.
velog.io
https://gethlemn.tistory.com/66
/bin/bash^M: bad interpreter: No such file or directory 해결 방법
[원인] Window 환경에서 sh 작성 후, linux 환경에서 실행하여 발생한 문제이다. window에서 사용한 개행 문자가 linux에서는 인식되지 못해 발생하는 문제이다 [해결방법] 1. vi에서 ^M 삭제하기 (1) vi -b [
gethlemn.tistory.com
'솔루션 > 기술지원부(솔루션지원팀)' 카테고리의 다른 글
| 20231120 [CentOS 7] FileZilla 설치 후 파일 전송 (1) | 2023.11.20 |
|---|---|
| 20231024 $'\r': command not found (0) | 2023.10.24 |
| 20231004 통신확인 방법 (0) | 2023.10.04 |
| 20231004 AIX nameserver 도메인 등록 (0) | 2023.10.04 |
| 20230925 AIX grep 사용법 (0) | 2023.09.25 |