environment variable bash shell code example
Example 1: how to set environment variable using bash
# set variable environment
export fullname="restu wahyu saputra"
echo $fullname
Example 2: bash get environment variable
Just type next command to list all environments varialbes in terminal:
printenv