http://jingyan.baidu.com/article/8cdccae965875c315413cdfe.html
open hosts file on mac: by select Finder folder or shift+command+G open the search, input /private/etc;
open terminate windows:
1.cd /private/etc;
2. vi hosts; (use vi command)
we can open the hosts file by this method. but maybe we can't modify because of the permission problem.
'sudo su ' command 例如没有permission去修改hosts文件,可以通过这个command 切换到root permission。
sudo: 是linux的系统管理指令;