Ubuntu修改hosts Nov 27, 2013 Linux hosts 修改方法 1.运行终端(ctrl+alt+t) 2.输入如下命令 sudo gedit /etc/hosts 3.复制windows下的hosts内容,粘贴即可。