{"id":20551713,"url":"https://github.com/clarketm/check","last_synced_at":"2025-10-17T12:15:20.825Z","repository":{"id":86955198,"uuid":"90938686","full_name":"clarketm/check","owner":"clarketm","description":"Check if a TCP/UDP port is open on a host(s) using UNIX command line tools.","archived":false,"fork":false,"pushed_at":"2017-12-01T23:09:35.000Z","size":277,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T00:44:17.803Z","etag":null,"topics":["bash","proxy","unix","unix-command"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clarketm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-11T04:52:32.000Z","updated_at":"2024-04-19T06:07:15.000Z","dependencies_parsed_at":"2023-05-29T23:30:36.565Z","dependency_job_id":null,"html_url":"https://github.com/clarketm/check","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarketm%2Fcheck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarketm%2Fcheck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarketm%2Fcheck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clarketm%2Fcheck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clarketm","download_url":"https://codeload.github.com/clarketm/check/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248872010,"owners_count":21175335,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","proxy","unix","unix-command"],"created_at":"2024-11-16T02:33:11.094Z","updated_at":"2025-10-17T12:15:20.764Z","avatar_url":"https://github.com/clarketm.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# check\nCheck if a TCP/UDP port is open on a host(s) using UNIX command line tools.\n\n### Installation\n#### Source\n```bash\n$ git clone \"https://github.com/clarketm/check.git\"\n$ cd check \u0026\u0026 sudo sh install.sh\n```\n\n### Usage\n```bash\n$ check --help\n\nNAME:\n\t check – check if a TCP/UDP port is open on a host(s).\n\nSYNOPSIS:\n\t check [opts...] [hostname...]\n\nOPTIONS:\n\t -h, --help                       \t Print options and usage information.\n\t -n, --noexit                     \t Continue processing hostnames on failure.\n\t -p, --port port \t\t\t Port number (default: 80).\n\t -s, --silent                     \t Suppress terminal output.\n\t -t, --timeout seconds \t\t\t Timeout for the connection (default: 5).\n\t --tcp                            \t TCP probe mode (default).\n\t --udp                            \t UDP probe mode.\n\t -v, --version                    \t Print current version number.\n\nEXIT CODE:\n\t 0    \t SUCCESS: Port is open on the specified host.\n\t 1    \t FAILURE: Port is closed on the specified host.\n\t 2    \t ERROR: Option parsing error.\n\t 3    \t ERROR: Option argument missing.\n\t 4    \t ERROR: Invalid option argument.\n\t 5    \t ERROR: GNU getopt not found on PATH.\n\t 6    \t ERROR: Multiple probe modes.\n\t 7    \t ERROR: General or unknown error.\n\nEXAMPLES:\n\t check \"www.travismclarke.com\" \"www.google.com\" --port 443 --timeout 3\n```\n\n### Example\n```bash\n$ check \"www.travismclarke.com\" \"www.google.com\" --port 443 --timeout 3 ; echo \"exit_code: $?\"\n\n# output\nwww.travismclarke.com: success\nwww.google.com: success\nexit_code: 0\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclarketm%2Fcheck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclarketm%2Fcheck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclarketm%2Fcheck/lists"}