Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/honzahommer/prips.sh
Print the IP addresses in a given range
https://github.com/honzahommer/prips.sh
Last synced: 2 days ago
JSON representation
Print the IP addresses in a given range
- Host: GitHub
- URL: https://github.com/honzahommer/prips.sh
- Owner: honzahommer
- License: mit
- Created: 2020-03-15T17:07:05.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-28T19:07:40.000Z (over 4 years ago)
- Last Synced: 2024-04-11T15:25:12.193Z (7 months ago)
- Language: Shell
- Size: 9.77 KB
- Stars: 36
- Watchers: 1
- Forks: 9
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# prips.sh
[![build status](https://img.shields.io/travis/honzahommer/prips.sh/master.svg)](http://travis-ci.org/honzahommer/prips.sh)
> Print the IP addresses in a given range
## Usage
Invoking `prips.sh -h` prints usage information:
$ prips.sh -h
$ usage: prips.sh [options]
$ -n set the number of addresses to print ( must not be set)
$ -f set the format of addresses (hex, dec, or dot)
$ -i set the increment to 'x'
$ -h display this help message and exit
$ -v display the version number and exitDisplay 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/localNote 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](https://github.com/honzahommer/prips.sh). 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.