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
- Host: GitHub
- URL: https://github.com/johnsonlee/autohosts
- Owner: johnsonlee
- License: mit
- Created: 2015-06-27T05:21:49.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-12-09T03:13:59.000Z (over 7 years ago)
- Last Synced: 2025-04-15T18:58:19.928Z (about 1 year ago)
- Language: Shell
- Size: 21.5 KB
- Stars: 3
- Watchers: 4
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```