Bash
bash variables
In bash, you can assign a value to a variable as simply as:
variable_name=variable_value
Note: If you assign a new value to a variable that you have used before, it will
overwrite your previous value.
e.g.
a=100
b='hello, world'
c=true
d=0.75
You can refer to any of these variables by typing a $ sign and the variable name itself.
e.g:
echo $a
Prints 100.
echo $b
Prints hello, world.
echo $c
Prints true.
echo $d
Prints 0.75.