Giter VIP home page Giter VIP logo

prips.sh's Introduction

prips.sh

build status

Print the IP addresses in a given range

Usage

Invoking prips.sh -h prints usage information:

$ prips.sh -h
$ usage: prips.sh [options] <start> <end>
$         -n <x> set the number of addresses to print (<end> must not be set)
$         -f <x> set the format of addresses (hex, dec, or dot)
$         -i <x> set the increment to 'x'
$         -h     display this help message and exit
$         -v     display the version number and exit

Display all the addresses in a reserved subnet:

$ prips.sh 192.168.0.0 192.168.0.255

Display every fourth address in a weird block:

$ prips.sh -i4 192.168.0.10 192.168.0.250

Installing prips.sh from source

Check out a copy of the prips.sh repository. Then, either add the prips.sh bin directory to your $PATH, or run the provided install.sh command with the location to the prefix in which you want to install prips.sh. For example, to install prips.sh into /usr/local:

$ git clone https://github.com/honzahommer/prips.sh.git
$ cd prips.sh
$ ./install.sh /usr/local

Note that you may need to run install.sh with sudo if you do not have permission to write to the installation prefix.

Or use on-line install script:

$ wget -qO- https://git.io/prips.sh | sh [-s - PREFIX]`

Support

The prips.sh source code repository is hosted on GitHub. There you can file bugs on the issue tracker or submit tested pull requests for review.

Version history

0.1.0 (March 15, 2020)

  • Initial public release.

© 2020 Honza Hommer. prips.sh is released under an MIT-style license; see LICENSE for details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.