how to assign variables in bash script code example
Example 1: export variable bash
$ export MYVAR=1729
$ echo $MYVAR
1729
Example 2: shell script variable
TEXT="Hello World!"
echo $TEXT
# ouput: Hello World!
$ export MYVAR=1729
$ echo $MYVAR
1729
TEXT="Hello World!"
echo $TEXT
# ouput: Hello World!