Last active
January 9, 2018 12:43
-
-
Save odadoda/9270400 to your computer and use it in GitHub Desktop.
Bash if
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
if [ test-commands ]; then | |
#do something | |
elif [ more-commands ]; then | |
#do more something] | |
else | |
#do something else | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment