export VARNAME="my value" # shorter, less portable version
# set variable environment
export fullname="restu wahyu saputra"
echo $fullname
# Linux - Bash
# syntax
# export *<variable-name>=*<variable-value>;
# example
export ORACLE_SID='sales_database';
export VARNAME="my value" # shorter, less portable version
$ export TEST_VAR
# Use source or . instead of bash
source script.sh
# OR
. script.sh