Created
November 24, 2010 19:49
-
-
Save myles/714270 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 | |
# Notice the '-d' | |
if [ -d ~/.bin-private ]; then | |
echo "Your private bin exists." | |
else | |
echo "Your private bin doesn't exists." | |
fi | |
# Notice the '-f' | |
if [ -f ~/.ssh/config ]; then | |
echo "You have configured SSH." | |
else | |
echo "You haven't configured SSH." | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment