Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

shell script for updating google hosts and blocking ad hosts.更新屏蔽广告和"科学上网"的hosts的小脚本。

License

Notifications You must be signed in to change notification settings

levinit/adhosts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

介绍 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

About

shell script for updating google hosts and blocking ad hosts.更新屏蔽广告和"科学上网"的hosts的小脚本。

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages