让电脑拒绝访问特定网站

修改/etc/hosts,在末尾追加127.0.0.1 www.baidu.com       后边的是拒绝访问的网址

原文地址:https://www.cnblogs.com/vactor/p/5012621.html