Skip to content

Antom91/bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Bash Port Checker

Bash Port Checker - simple bash script to check if tcp port is available. This script based on netcat software.

You can setup variables:

  • timeoutch=10 #Timeout to check connections
  • timeofico=0.2 #Time of icon symbols change (only in ico_connection.sh)
  • dotpoint="." #Element to draw (only in dot_connection.sh)

Examples to can run:

  • SERVER_ADDR=google.com SERVER_PORT=80 ./ico_connection.sh
  • SERVER_ADDR=google.com ./ico_connection.sh
  • SERVER_PORT=80 ./ico_connection.sh
  • ./ico_connection.sh

If you execute this script like this: #./ico_connection.sh, that will check port 80 on 127.0.0.1 IP

About

Bash test scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages