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 | 31 |
Tags
- 공부
- Ai
- Machine Learning
- stm32f 시리즈를 이용한 arm cortex-m3/m4 구조와 응용
- essential deep learning paper reading
- anaconda오류
- 리눅스
- 일귀
- ML
- 머신러닝
- pytorch tensor
- conda오류
- 리눅스 오류
- Tensor
- pyTorch
- torch
- conda: command not found
- 텐서
- conda
Archives
- Today
- Total
Embedded World
/bin/bash^M: bad interpreter: No such file or directory 오류 본문
Embedded Systems/리눅스
/bin/bash^M: bad interpreter: No such file or directory 오류
jh-rrr 2022. 6. 9. 16:16/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 이라는 문자가 보이는데 이를 지워주면 된다.
'Embedded Systems > 리눅스' 카테고리의 다른 글
[WINDOWS OS] Conda: "command not found" 에러 (우분투 환경) (0) | 2022.03.16 |
---|