diff --git a/IT/Scripting.md b/IT/Scripting.md index 063d5b0..f013f45 100644 --- a/IT/Scripting.md +++ b/IT/Scripting.md @@ -31,9 +31,10 @@ In Bash, different styles of quotes (or a backtick) mean different things: A basic if statement in bash looks like this: ``` if somecommand; then - + # The code here will be run if somecommand has an exit code of 0 fi ``` +Note that the if statement is terminated by `fi`. This is fairly standard throughout bash scripting, where the blocks are closed with the reverse text used to open them. ## Commands | Command | Description | | ----------------- | ---------------------------------------------------------------------------------------------- |