Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- anaconda오류
- pytorch tensor
- Machine Learning
- conda
- torch
- Tensor
- 머신러닝
- 리눅스 오류
- pyTorch
- essential deep learning paper reading
- 공부
- 리눅스
- ML
- 텐서
- conda오류
- 일귀
- Ai
- conda: command not found
Archives
- Today
- Total
Embedded World
/bin/bash^M: bad interpreter: No such file or directory 오류 본문
/bin/sh^M: bad interpreter: No such file or directory 오류 발생 시
linux 에서 스크립트 실행할 때 /bin/sh^M: bad interpreter: No such file or directory 와 같은 에러 메시지가 나타날 때가 있다.
chomman.github.io
윈도우에서 스크립트 파일을 만들고, 리눅스에서 실행해서 발생하는 오류라고 한다.
오류의 이유는 개행문자가 윈도우와 리눅스가 서로 달라 호환이 안되기 때문이다.
vi -b #vi의 바이너리 모드로 들어가면 ^M 이라는 문자가 보이는데 이를 지워주면 된다.
'소프트웨어 > 리눅스' 카테고리의 다른 글
[WINDOWS OS] Conda: "command not found" 에러 (우분투 환경) (0) | 2022.03.16 |
---|