修改 macOS 的 hosts 檔

1. 開啟終端機程式,輸入 sudo vim /private/etc/hosts

[@more@]2. 加入要修改的內容

不用重新開機即可生效,不過可能有些 DNS Cache 要清除

3. 其實 /private/etc/hosts/etc/hosts 應該是同一個檔案