bash enable env variables code example
Example 1: how to set environment variable using bash
# set variable environment
export fullname="restu wahyu saputra"
echo $fullname
Example 2: setting environment variables bash
export VARNAME="my value" # shorter, less portable version