An open API service indexing awesome lists of open source software.

https://github.com/johnsonlee/autohosts

Update /etc/hosts automatically
https://github.com/johnsonlee/autohosts

Last synced: 11 months ago
JSON representation

Update /etc/hosts automatically

Awesome Lists containing this project

README

          

# autohosts

Update /etc/hosts automatically

## Usage

### Execute from internet

```
sudo bash -c 'curl -sL https://rawgit.com/johnsonlee/autohosts/master/bin/autohosts.sh | bash'
```

### Download to local

```
sudo bash -c 'curl -sL https://rawgit.com/johnsonlee/autohosts/master/bin/autohosts.sh > /usr/local/bin/autohosts'
sudo chmod +x /usr/local/bin/autohosts
autohosts
```