Last active
January 29, 2021 16:14
-
-
Save sheilambadi/841df29beca8ab6ec9bb9e100eb6252b to your computer and use it in GitHub Desktop.
If then else statement in bash
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 [ logical expression ]; then | |
statement 1 | |
statement 2 | |
else | |
statement 3 | |
statement 4 | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment