
MAC终端编辑hosts文件教程
首先通过终端使用nano或vim编辑/etc/hosts文件添加域名映射,如127.0.0.1 example.com,保存后执行sudo dscacheutil -flushcache和sudo killall -HUP mDNSResp...
首先通过终端使用nano或vim编辑/etc/hosts文件添加域名映射,如127.0.0.1 example.com,保存后执行sudo dscacheutil -flushcache和sudo killall -HUP mDNSResp...