Horje
ubuntu set environment variable permanently Code Example
ubuntu set environment variable permanently
#open terminal and type:
$ nano .bashrc

#scroll to the bottom of the script and type:
export <place variable name in here> = '<place variable value here>'

#e.g
export ANDROID_SDK_ROOT='/home/<$USER>/Android/Sdk'

#once you,re finished typing in your variable hit Ctrl+X then press enter
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




Shell

Related
join files linux Code Example join files linux Code Example
install flask ubuntu 20.04 Code Example install flask ubuntu 20.04 Code Example
extract tar to destination Code Example extract tar to destination Code Example
bash foreach dir Code Example bash foreach dir Code Example
percorrer directoria shell script Code Example percorrer directoria shell script Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9