Bash Script Needed // Utilizing "nc" Command

Avg Bid (USD)
Project Budget (USD)
$30 - $250

Project Description:
I need someone to write a shell script that will utilize the "nc" command to check connectivity of IP addresses to a specified mail server. I need it to be versatile in the respect that it needs to check multiple IP addresses either from the same Class C range or multiple Class C ranges.

Here is an example of a scenario:
I want to check the connectivity of the following IPs that are binded to the server: - [url removed, login to view] -
[url removed, login to view] - [url removed, login to view]

I want to check if the above IPs will connect to the following server:
[url removed, login to view]

The command to do the above one by one would be the following:
nc -s [url removed, login to view] 25


The problem with checking the IPs one by one is that it will take forever so I need an automated way to do this (hence the shell script). I want the shell script to be versatile and allow input when run so it would do something like the following when run:

Please input IP ranges in the following format (X.X.X.X - X.X.X.X):

Please enter server you would like to connect to:


I would then be allowed to input one or several IP ranges. The shell script would then utilize the "nc" command to check all IPs in the ranges I assigned and output the results in real time to the screen and also save the results in a .txt file.


This should be a simple job for someone who knows how to do this. I am looking to have this completed in one day and please don't bid some outrageous amount. Please message me explaining your knowledge and a personalized message of when you can complete the job (no random automated copy/paste responses please).

Thank you!

Skills required:
PHP, Shell Script
About the employer:
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.

Hire rajeshsonisl
$ 206
in 2 days
$ 147
in 3 days
$ 58
in 1 days
$ 50
in 3 days
$ 45
in 1 days
$ 50
in 1 days
$ 35
in 0 days
$ 100
in 3 days
$ 111
in 3 days
$ 40
in 2 days