티스토리 뷰

공부

`/etc/hosts` update in mac

승가비 2019. 5. 8. 23:05
728x90
dscacheutil -flushcache

https://mingu.kr/74

 

Mac OS X 에서 hosts 파일 수정하기

일전에 아이폰 어플 개발시에 Mac 상에서 hosts 파일 수정을 해야 할 일이 생겨서 알아보다가 해결 했던 사이트입니다. 사이트로 이동~ 사이트 참고 하여, 잘 처리가 됐는데.. 한 동안은 hosts 파일 수정할 일이..

mingu.kr

 

### TIP

VPN 접속전에 수정해야 초기화 되지 않는다.

https://superuser.com/questions/382744/how-to-make-changes-to-mac-etc-hosts-permanent

 

How to make changes to Mac /etc/hosts permanent?

On my Mac (running OS 10.6.8), I can edit my hosts file with sudo vi /etc/hosts, but changes I make don't seem to persist through restarts or possibly awaking from sleep mode. Is there a way to make

superuser.com

 

728x90

'공부' 카테고리의 다른 글

use `package.json`  (0) 2019.06.25
Initialization of an ArrayList in one line  (0) 2019.06.25
check process from port  (0) 2019.05.08
[Regex] Don't match line  (0) 2019.02.22
[Spark & Hive] Convert date string to timestamp  (0) 2019.01.28
댓글