set environment variables from file for bash script code example
Example 1: bash set environment variable
# Linux - Bash
# syntax
# export *<variable-name>=*<variable-value>;
# example
export ORACLE_SID='sales_database';
Example 2: how to set environment variable using bash
# set variable environment
export fullname="restu wahyu saputra"
echo $fullname