#!/bin/bash
#Author- Deepak G Ghule
#Subject- To check desire ip address
echo "Plz enter Your desire IP address to ping test"
read ip
ping -c 4 $ip &>/dev/null
if [ $? -eq 0 ]; then
echo "Machine is up now"
else
echo "Machine is down"
fi
Blog Archive
-
▼
2009
(8)
-
▼
October
(8)
- Sending mails using the command line
- Let us ping range of IPs machine
- Useradd via shell script IN Linux
- To check desire machine status for up or down by I...
- To know Disk space Alert by mail in Linux
- Access Windows shares from the terminal
- Aircel/Airtel GPRS on linux via USB cable/bluetoot...
- To check Linux service is on or off
-
▼
October
(8)