iptool

0.1.0 • Public • Published

IPTool

This is simply a small tool that echoes the current IP address allocated. You can pick one and/or specify a favorite address to use.

Usage Example:

$ iptool # the tool itself
$ iptool --list # list IPs and interfaces

$ echo `myip` # a shorthand for getting the fav / first ip
$ ssh root@`myip` # example of usage

$ iptool --setvars # sets an env variable
$ ssh root@$PRIMEIP
$ ssh root@$_IP3

$ iptool --fav 4
$ iptool --fav `myip`

Readme

Keywords

none

Package Sidebar

Install

npm i iptool

Weekly Downloads

3

Version

0.1.0

License

none

Last publish

Collaborators

  • sabinmarcu