コンテンツにスキップ

「Hostsblock」の版間の差分

提供: ArchWiki
削除された内容 追加された内容
Kusakata がページ「Hostsblock」を「利用者:Kusanaginoturugi/Hostsblock」に、リダイレクトを残さずに移動しました: 作りかけのページはユーザーページかサンドボックスを使って下さい
編集の要約なし
20行目: 20行目:
== ブロックするURLの追加 ==
== ブロックするURLの追加 ==
example.com をブロックする
example.com をブロックする
$ sudo hostsblock-urlcheck example.com
$ sudo hostsblock-urlcheck "http://www.example.org"


== See also ==
== See also ==

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

この記事は書きかけです。
ノート: 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 "http://www.example.org"

See also