dev-master
9999999-dev https://github.com/hasantayyar/myhostsA small tool to manage hosts entries
LGPL
The Requires
- php >=5.3.0
by hasantayyar
application tool network
A small tool to manage hosts entries
MyHosts is a tool to manage your hosts entries., (*1)
$ composer require hasantayyar/myhosts:dev-master
or add these lines to your composer.json, (*2)
{ "require": { "hasantayyar/myhosts": "dev-master" } }
then run, (*3)
$ composer update
Add a new hosts entry for hostname as mydev.host and ip address as 127.0.0.1, (*4)
$ sudo myhosts add mydev.host
Add a new host entry for hostname as mydev.host and a custom ip address, (*5)
$ sudo myhosts mydev.host add 193.5.5.1
Remove a host entry, (*6)
$ sudo myhosts mydev.host delete 193.5.5.1
List host entries added by myhosts, (*7)
$ sudo myhosts list
A small tool to manage hosts entries
LGPL
application tool network