Created
May 5, 2010 16:59
-
-
Save justjkk/391087 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo Pinging 192.168.1.3 \ | |
&& \ | |
ping -c1 192.168.1.3 > /dev/null 2>&1 \ | |
&& \ | |
echo Ping Succeeded \ | |
|| echo Ping Failed; | |
echo Press Enter key to exit...; | |
read; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment