본문 바로가기
Trouble Shooting

Mac host 설정시 command not found 이슈

by 만발한매화 2024. 10. 4.

Mac host 설정시 다음과 같이 sudo: nano/private/etc/hosts: command not found 에러가 뜨는 경우가 있다.

 

password 까지 입력하여 될줄 알았는데.. 뒷통수 맞은느낌..

단순히 경로 지정이 잘못된 부분이라 아래와 같이 입력하면 정상동작한다.

 sudo nano /etc/hosts

 

호스트 설정창 열림~