Mac下修改hosts的方法

方法有很多,只記錄我認為最好用的吧:

在終端機,copy下面這段上去(終端機在“工具程式”裡面):

lion系統:

sudo nano /etc/hosts ,按提示輸密碼,然後修改,然後ctrl+X退出,然后按Y確認,最後回車。

如果是snow leopard系統,則:

sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts

 

 

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">

unhappy sun spit skull shy shutup shit pig money mine lust love laugh kun knife kiss hug heng heart happy handclap good gift fear curse cry crazy coool break bomb bad angry agree afraid V Sweattt Sweat Surprised BS Arrogant