首页 > Windows开发 > 详细

在Linux/Windows系统上编辑/etc/hosts文件

时间:2016-11-18 17:48:13      阅读:374      评论:0      收藏:0      [点我收藏+]

Linux ubuntu16

open the terminal, input the command:

  sudo -i gedit /etc/hosts file

click enter key, then input your password, click enter key, the hosts file will be open, now you can edit it.

Windows (win7/win8)

  C:\Windows\System32\driver\etc\hosts

open the hosts, now you can edit it.

 

在Linux/Windows系统上编辑/etc/hosts文件

原文:http://www.cnblogs.com/woniu123/p/6078356.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!