Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ip2

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ip2

another ip address & hosts tools

  • 0.2.9
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
Maintainers
1
Weekly downloads
 
Created
Source

Build Status NPM Version NPM Downloads

ip2

Another ip address & hosts tools.

Installation

$ npm i -g ip2
# or
$ sudo npm i -g ip2

Example

$ ip2 -h
$ ip2 info -h
$ ip2 info -lis

$ ip2 ls
$ ip2 cat
$ sudo ip2 add google.txt
$ sudo ip2 use google

NOTICE: The sudo is must be used when you operating the hosts file.

Usage

Usage: ip2 [options] [command]

  Commands:

    ls [dir]         list hosts
    cat [hosts]      print hosts contents
    add <file>       add custom hosts to system
    use <hosts>      change system hosts to custom hosts
    rm <hosts>       delete one custom hosts file
    reload           reload used hosts
    reset            reset hosts
    init             init hosts
    info [options]   output system & ip info
    help             print help

  Options:

    -h, --help      output usage information
    -V, --version   output the version number
    -v, --version   get version number
    -f, --force     overwrite file

See MANUAL for details.

Hosts file

Release History

See the CHANGELOG.

License

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

Keywords

FAQs

Package last updated on 24 Jan 2015

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc