vault backup: 2024-05-30 17:49:46

This commit is contained in:
zleyyij 2024-05-30 17:49:46 -06:00
parent aa41e0d492
commit f1929b060e

View File

@ -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 (`$`): 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 ```bash
#!/bin/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: # Assignment is done with the equal sign (=) operator:
MY_VARIABLE=" MY_VARIABLE="Hi Mom!"
echo $MY_VARIABLE
``` ```