서버/MAC

Mac에서 hosts 파일 변경

유키공 2018. 1. 2. 08:30
Mac에서도 hosts파일을 변경할 수 있습니다.
hosts 파일 경로는 /private/etc/hosts 입니다.
$ sudo vim /private/etc/hosts
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##
127.0.0.1       localhost
255.255.255.255 broadcasthost
::1             localhost