define environment variable in shell script code example
Example 1: shell set environment variable
export VARNAME="my value" # shorter, less portable version
Example 2: setting environment variables bash
export VARNAME="my value" # shorter, less portable version