set variable in terminal in linux code example
Example 1: shell set environment variable
export VARNAME="my value" # shorter, less portable version
Example 2: set permanant environemt variable
$EDITOR ~/.profile
#add lines at the bottom of the file:
export LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client64/lib
export ORACLE_HOME=/usr/lib/oracle/11.2/client64