Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 1.05 KB

README.md

File metadata and controls

36 lines (20 loc) · 1.05 KB

介绍 Introduction

Adhosts 是一个更新屏蔽广告 hosts 的 shell 小脚本。 hosts 文件均来自互联网。

Adhosts is a script for updating advertisements-blocking hosts.

使用 Usage

  • 安装 Installation:

    执行以下命令 Excute command below:

    curl -s https://raw.githubusercontent.com/levinit/adhosts/master/adhosts >> /tmp/adhosts.sh && sudo bash /tmp/adhosts.sh

    或者下载adhosts,并解压缩, cd adhost-master,然后执行 bash adhosts.

    or Downlod adhosts , extracting it , cd adhost-master, and bash adhosts.

  • 更新 Update hosts:adhosts

  • 删除 Dlelete adhosts:sudo rm /usr/local/bin/adhosts

archlinux auryay -S adhosts

Hosts 来源 Sources