https://github.com/kevingimbel/portcheck
:computer: Check if a remote hosts port is open or not.
https://github.com/kevingimbel/portcheck
Last synced: 3 months ago
JSON representation
:computer: Check if a remote hosts port is open or not.
- Host: GitHub
- URL: https://github.com/kevingimbel/portcheck
- Owner: KevinGimbel
- Created: 2016-03-04T11:12:26.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-04T11:17:22.000Z (about 9 years ago)
- Last Synced: 2025-01-17T17:35:13.273Z (4 months ago)
- Language: Shell
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# portcheck
A small utility to check for open ports.
Taken from [StackOverflow](http://stackoverflow.com/a/35337930/2777153) and wrapped inside a little function.
### Install
Clone this repository to some place on your computer.```bash
$ cd ~/github
$ git clone [email protected]:kevingimbel/portcheck.git
```Then make the script executable and link it somewhere into your `$PATH`.
```bash
$ chmod +x portcheck
$ (sudo) ln -s /full/path/to/portcheck /usr/local/bin/
```Now you can run `portcheck -v` to see if it was installed correctly.
### Usage
Call the script and pass `--host` and `--port` as parameter.```bash
$ portcheck --host mywebsite.com --port 80
$ portcheck --host 123.456.789 --port 22
```