「Hostsblock」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
(見出し2の修正)
(Kusakata がページ「Hostsblock」を「利用者:Kusanaginoturugi/Hostsblock」に、リダイレクトを残さずに移動しました: 作りかけのページはユーザーページかサンドボックスを使って下さい)
(相違点なし)

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

この記事は書きかけです。
ノート: 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