这是一个创建于 3766 天前的主题,其中的信息可能已经有所发展或是发生改变。
以前在 Terminal 粘贴下一行「sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts」回车输个密码就能打开 hosts 文件并编辑,现在这个方法好像失效了?我这边回车后好像什么都没发生……
2 条回复 • 2014-10-18 14:06:00 +08:00
![dotpig](https://cdn.v2ex.com/avatar/6cd6/f2ac/74408_normal.png?m=1426472581) |
|
1
dotpig 2014-10-18 13:53:01 +08:00 1
用个免费的 Gas Mask 多好啊,这事 Mac 最方便的管理 hosts 文件的工具了,还支持不同的 profile 随时切换。
|
![shawnwu](https://cdn.v2ex.com/avatar/d33e/a09a/35800_normal.png?m=1426459291) |
|
2
shawnwu 2014-10-18 14:06:00 +08:00
|