Socket
Socket
Sign inDemoInstall

ip2

Package Overview
Dependencies
48
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ip2

another ip address & hosts tools


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Build Status NPM Version NPM Downloads

ip2

Another ip address & hosts tools

Installation

$ npm install -g ip2

Usage

Usage: ip2 [options] [command]

  Commands:

    ls              list all hosts
    add <path>      add one custom hosts file
    use <hosts>     change system hosts to hosts
    del <hosts>     delete one custom hosts file
    reload          reload used hosts
    reset           reset hosts
    help            print help

  Options:

    -h, --help      output usage information
    -V, --version   output the version number
    -v, --version   get version
    -l, --local     output local ip
    -i, --internet  output internet ip

Hosts file

Example

$ ip2 ls
$ ip2 -li
$ sudo ip2 add abc.txt
$ sudo ip2 use abc

License

This project is available under the MIT license. See LICENSE for details.

Keywords

FAQs

Last updated on 20 Jan 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc