Created
May 9, 2017 00:56
-
-
Save linhxhust/7490d0e174f9b3c76e1ba0e7f98d3fd0 to your computer and use it in GitHub Desktop.
This file contains 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 | |
ping -c 3 127.0.0.1 | |
if [ $? -ne 0 ]; then | |
printf "Couldn't ping to 127.0.0.1" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment