Created
April 10, 2014 23:39
-
-
Save angrytoast/10432250 to your computer and use it in GitHub Desktop.
omg hosts
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
#! /usr/bin/env bash | |
PROBLEM="$(cat /etc/hosts | grep tableausoftware.com | grep -v '^#' | wc -w)" | |
if [ "$PROBLEM" -gt 0 ]; then | |
say omg fix yer hosts | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Worth it 😎