커뮤니티
포인트
쿠폰
내 강의실
국비 신청 내역
증명서
계정
로그아웃
학습 질문
개발 일지
나의 활동
답변 완료
맥북 터미널 실행
undefined주차
북마크
홍*경
댓글
7
추천
0
조회수
18
조회수
18
답변 완료


맥북을 사용중이며 터미널로 'EC2 한방에 세팅하기' 코드스니펫 실행 문제 확인 요청드립니다!

sudo chmod 400/Users/hongdakyung/Desktop/sparta_ddoqikey.pem


를 실행하고

컴퓨터 비밀번호를 입력하였습니다!


코드스니펫 복사하여 아래처럼 첫 줄을 실행하려고 했는데,

sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10


sudo: update-alternatives: command not found


라는 문구가 나와 질문드립니다 ㅠㅠ




스파르타 즉문즉답



Last login: Wed Oct 19 20:25:10 on ttys000

hongdakyung@hongdagyeong-ui-MacBookAir ~ % sudo chmod 400/Users/hongdakyung/Desktop/sparta_ddoqikey.pem

Password:

usage:	chmod [-fhv] [-R [-H | -L | -P]] [-a | +a | =a  [i][# [ n]]] mode|entry file ...

	chmod [-fhv] [-R [-H | -L | -P]] [-E | -C | -N | -i | -I] file ...

hongdakyung@hongdagyeong-ui-MacBookAir ~ % sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10

Password:

sudo: update-alternatives: command not found

hongdakyung@hongdagyeong-ui-MacBookAir ~ % sudo chmod 400/Users/hongdakyung/Desktop/sparta_ddoqikey.pem

usage:	chmod [-fhv] [-R [-H | -L | -P]] [-a | +a | =a  [i][# [ n]]] mode|entry file ...

	chmod [-fhv] [-R [-H | -L | -P]] [-E | -C | -N | -i | -I] file ...

hongdakyung@hongdagyeong-ui-MacBookAir ~ % sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10

sudo: update-alternatives: command not found

hongdakyung@hongdagyeong-ui-MacBookAir ~ % sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10

sudo: update-alternatives: command not found

hongdakyung@hongdagyeong-ui-MacBookAir ~ % 
취소
 공유
취소
댓글 0
댓글 알림
나의얼굴