Created
June 23, 2017 09:33
-
-
Save sokil/bf3d2d19cfb14cc25ef024c84f93a452 to your computer and use it in GitHub Desktop.
Check list of domains for existance
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
cat siteDomains | xargs -I{} bash -c "ping -c 1 {} > /dev/null 2>&1 && echo {} 'ok' || echo {} 'er'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment