コンテンツにスキップ

「Hostsblock」の版間の差分

提供: ArchWiki
削除された内容 追加された内容
編集の要約なし
見出し2の修正
10行目: 10行目:
* Project URL: https://github.com/gaenserich/hostsblock
* Project URL: https://github.com/gaenserich/hostsblock


== 設定
== 設定 ==
タイマーユニットを開始します。
タイマーユニットを開始します。
$ sudo systemctl start hostsblock.timer
$ sudo systemctl start hostsblock.timer
18行目: 18行目:
systemctl enable hostsblock.timer
systemctl enable hostsblock.timer


== ブロックするURLの追加
== ブロックするURLの追加 ==
example.com をブロックする
example.com をブロックする
$ sudo hostsblock-urlcheck example.com
$ sudo hostsblock-urlcheck example.com

2015年12月26日 (土) 19:17時点における版

この記事は書きかけです。
ノート: Still too short, if there's not much information to be added, consider merging the content to a more generic article. (Discuss)

関連記事

hostsblockAUR is a bash script for Linux designed to take advantage of the HOSTS file available in all operating systems to provide system-wide blocking of internet advertisements, malicious domains, trackers, and other undesirable content. To do so, it downloads a configurable set of blocklists and processes and their entries into a singular HOSTS file.

設定

タイマーユニットを開始します。

$ sudo systemctl start hostsblock.timer
$ sudo systemctl list-timers 

必要に応じて有効にしてください。

systemctl enable hostsblock.timer

ブロックするURLの追加

example.com をブロックする

$ sudo hostsblock-urlcheck example.com

See also