From f1929b060e4ee3009abe4e5c56ea56a7e11647db Mon Sep 17 00:00:00 2001 From: zleyyij Date: Thu, 30 May 2024 17:49:46 -0600 Subject: [PATCH] vault backup: 2024-05-30 17:49:46 --- IT/Scripting.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/IT/Scripting.md b/IT/Scripting.md index 1178f03..bf6a0ac 100644 --- a/IT/Scripting.md +++ b/IT/Scripting.md @@ -13,8 +13,8 @@ echo "Hello, World!" In bash, variable assignment is done with the `=` operator. Variables are conventionally named with `SCREAMING_SNAKE_CASE`, and can be accessed by prefixing the variable name with a dollar sign (`$`): ```bash #!/bin/bash -# There may not be any spaces +# There may not be any spaces used during assignment, `A = B` means something different than `A=B` # Assignment is done with the equal sign (=) operator: -MY_VARIABLE=" - +MY_VARIABLE="Hi Mom!" +echo $MY_VARIABLE ``` \ No newline at end of file