set environment variables for bash script code example
Example 1: shell set environment variable
export VARNAME="my value" # shorter, less portable version
Example 2: env variable bash
#Set envionrment variable bash
TEST_VAR='Hello World!'
export VARNAME="my value" # shorter, less portable version
#Set envionrment variable bash
TEST_VAR='Hello World!'