LoginSignup
4
4

More than 5 years have passed since last update.

自主的アク禁

Posted at

古典的。

会社では、痛くもない腹を探られたくないから、

$ sudo vi /etc/hosts
$ diff /etc/hosts.bak /etc/hosts
10a11,14
> 127.0.0.1 www.youtube.com
> 127.0.0.1 www.vimeo.com
> 127.0.0.1 www.2ch.net
$ sudo dscacheutil -flushcache

などとする。
警告サイトを踏む度に増やして行くと、結構な量になる。

4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4