Skip to content

SYDKLX/Server-Service-Checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

🌐 Ping Checker (Bash)

A simple Bash script that checks if an IP address or hostname is reachable using ping.


✨ Features

  • Prompts for an IP address or hostname.
  • Uses ping with a 2-second timeout.
  • Outputs clear status messages:
    • ✅ Host is UP (reachable).
    • ❌ Host is DOWN (unreachable).

📦 Requirements

  • bash
  • ping utility (included by default on most Linux/macOS/WSL systems).

🚀 Usage

  1. Clone this repository:
    git clone https://github.com/yourusername/ping-checker.git
    cd ping-checker
    

1. cd Server-Service-Checker 2. chmod +x serverservice.sh 3. ./serverservice.sh 4. Enter IP address or hostname: example.com ✅ example.com is UP (reachable).

About

This repository contains a simple Bash script that checks whether specific servers or services are reachable. It’s designed for ethical use only — monitoring your own servers or systems you have permission to query.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages