2017 © Pedro Peláez
 

project myhosts

A small tool to manage hosts entries

image

hasantayyar/myhosts

A small tool to manage hosts entries

  • CSS
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

MyHosts is a tool to manage your hosts entries., (*1)

Installation

$ 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

Usage

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

The Versions

22/01 2014

dev-master

9999999-dev https://github.com/hasantayyar/myhosts

A small tool to manage hosts entries

  Sources   Download

LGPL

The Requires

  • php >=5.3.0

 

application tool network