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
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
how to set environment variable in linux 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
linux set environment variable
# Linux - Bash
# syntax
# export *<variable-name>=*<variable-value>;
# example
export ORACLE_SID='sales_database';
how to set environment variables in linux
export JAVA_HOME=/opt/openjdk11
how to set environment variables in linux
vi ~/.bash_profile
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us