google搜索破解

hosts所在文件夹:

  • Windows 系统hosts位于 C:\Windows\System32\drivers\etc\hosts
  • Android(安卓)系统hosts位于 /system/etc/hosts
  • Mac(苹果电脑)系统hosts跟Linux一样位于 /etc/hosts
  • iPhone(iOS)系统hosts跟Linux Mac一样位于 /etc/hosts
  • Linux系统hosts位于 /etc/hosts

修改hosts后生效的方法:

    • Windows
      开始 -> 运行 -> 输入cmd -> 在CMD窗口输入
    • 1
      ipconfig /flushdns
    • Linux
      终端输入
      1
      sudo rcnscd restart

      对于systemd发行版,请使用命令

      1
      sudo systemctl restart NetworkManager

      如果不懂请都尝试下

    • Mac OS X终端输入
    • 1
      sudo killall -HUP mDNSResponder

posted on 2017-02-22 16:00  明恋怡  阅读(266)  评论(0)    收藏  举报

导航