Bash Script Needed // Utilizing "nc" Command

Budget $30 - $250 USD
Bids 22
Average Bid $74

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:
184.54.52.2 - [url removed, login to view]
182.55.12.2 - 1.84.55.12-54
[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!

Post a Project Like This

Looking to make some money?

  • Set your budget and the time frame
  • Outline your proposal
  • Get paid for your work

Bids on this Project

  • goarilla Profile Picture

    goarilla

    Leuven,  Belgium

    I've been running Slackware Linux since 2002, have done many system administration tasks both professionally and privately.

    Perl, C Programming, Python, and Linux

  • sureshvv Profile Picture

    sureshvv

    Chennai,  India

    Can help you with Python/C++ projects.

    Perl, C Programming, Javascript, and XML

  • karlkoch Profile Picture

    karlkoch

    Stuttgart,  Germany

    I'm a polyglot generalist and love to deliver solutions on time and budget. Github-references are available on request.

    C Programming, Javascript, XML, and Python

  • srinichal Profile Picture

    srinichal

    hyderabad,  India

    Perfection and dedication are the way we deal with projects on freelancer. There have been many clients all over the world that are satisfied with the solutions provided.All types of automation works along with web based solutions are our expertise. Looking to provide solutions in the Mobile markets as well. Some of the automation tools are listed in portfolio and here as well: * AutoBidder tool for Madbid like sites * Automation tools For all emails and social Bookmark sites * Social Bookmarking tools * Facebook Likes Automation * Webbased Versions of tools tailored to custom needs * Desktop apps tailored to customer needs * Proxy tools tailored to your requirements. A dedicated team that can literally deliver any project solution with high expertise. Please don't hesitate to contact us via freelancer. Satisfaction guaranteed solutions delivered all over the world. The Skill Set ranges from C# to PHP, Iphone to Andriod. We can deliver almost any solutions for your needs. We can also take up any type of work based on web design to desktop or mobile in the broad spectrum as we always strive to learn and perfect.

    PHP, Perl, Java, and JSP

  • babu121314 Profile Picture

    babu121314

    coimbatore,  India

    UNIX SYSTEM ADMIN - remote servers(ORACLE-SUN,HP) maintanence/trobleshooting, Operating systems(Solaris,linux), Virtualized environments(LDOM,Zones,Vmware), Storage(SUN-storages,EMC), Programming(Php programming, Unix shell scripting, perl scripting). Installations(solaris,red hat linux)

    Banner Design, System Admin, Linux, and Logo Design

  • kaloyan13 Profile Picture

    kaloyan13

    Dimitrovgrad,  Bulgaria

    C/C++ programmer with experience in parallel programming using OpenMP and MPI. Bash scripting and any other Linux/Unix tasks are welcome.

    PHP, Perl, C Programming, and Java

  • tdcmystere Profile Picture

    tdcmystere

    Soignies,  Belgium

    Hi, Linux and Windows administrator since 10 Years, i have a big experience in Linux and windows administration, Network and Security. Great skills with Windows AD, Backup solutions, Replication solutions Linux Windows - MySQL/MsSQL. Loadbalancing, VPN, Plesk, Apache, ipatble, bash,C#, PHP. Virtualisation: OpenVZ/KVM Proxmox OVZ, XEN, Virtuozzo, VmWare.

    PHP, .NET, Script Install, and Windows Desktop

  • saccer01 Profile Picture

    saccer01

    ahmedabad,  India

    A professional in Linux,C,CPP,Perl,N/w programming,Firewall..Ready to work on any challenging task

    Perl, C Programming, Javascript, and Linux

  • svoyski Profile Picture

    svoyski

    Feodosia,  Ukraine

    Work done as a freelancer . . . . . . Over 50 Hi-poly 3D car models for printed illustrations . . . . . . Some 3D plane models for flight simulator software . . . . . . About 160 machinery game units for the Blitzkrieg game add-ons (lo-poly modeling, mapping and texturing) Areas of Expertise . . . . . . Graphic Design . . . . . . . . . . . . Mesh modeling in Autodesk 3ds Max . . . . . . . . . . . . Picture retouching, enhancement and montage in Adobe Photoshop and Corel Photopaint . . . . . . Web Design and Coding . . . . . . . . . . . . HTML/CSS, Javascript, . . . . . . . . . . . . PHP, MySQL . . . . . . Programming/Scripting . . . . . . . . . . . . C/C++ . . . . . . . . . . . . Javascript in: . . . . . . . . . . . . . . . . . . Web client-side . . . . . . . . . . . . . . . . . . Adobe products . . . . . . . . . . . . . . . . . . CorelDRAW graphics suite . . . . . . . . . . . . MaxScript in 3ds Max

    PHP, Javascript, Photoshop, and 3D Rendering

  • sumitgarg44 Profile Picture

    sumitgarg44

    Mumbai,  India

    I am a Linux admin and have good hands on experience on linux as well as other linux & unix flavour. I write shell scripts too. Always deliver my best and never give up.

    System Admin, Linux, Apache, and Shell Script