Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux set env permanent

# for bash
Bash as login shell will load /etc/profile, ~/.bash_profile, ~/.bash_login, ~/.profile in the order
Bash as non-login interactive shell will load ~/.bashrc
Bash as non-login non-interactive shell will load the configuration specified in environment variable $BASH_ENV

$cat ~/.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
     
 #OR
 nano /etc/environment
Comment

PREVIOUS NEXT
Code Example
Shell :: check if port is running in ubuntu 
Shell :: how to restart apache2 in ubuntu 20.04 
Shell :: kill a process on ubuntu 
Shell :: what process is using memory linux 
Shell :: how to install metasploit in ubuntu 
Shell :: ubuntu get public ip 
Shell :: # /bin/bash meaning 
Shell :: svn show revision of remote url 
Shell :: centos install wget 
Shell :: git config github username 
Shell :: ubuntu change jdk 
Shell :: git remove .ds_store from commit 
Shell :: git commit disable hooks 
Shell :: checking if a substring exists in a string bash 
Shell :: git change origin url 
Shell :: jupyter notebook allow root 
Shell :: flutter reinstall pod 
Shell :: gcloud change project 
Shell :: laravel generate random 6 digit number 
Shell :: Write to NTFS on Mac OS 
Shell :: git reset head 2 commits 
Shell :: PowerShell cant run curl command 
Shell :: how to give permission to create files in directory linux 
Shell :: linux command to cut file and paste somewhere else 
Shell :: install bunjs 
Shell :: reload bash 
Shell :: foreach bash 
Shell :: find application path ubuntu 
Shell :: aws cli config profile 
Shell :: git command to change drive 
ADD CONTENT
Topic
Content
Source link
Name
5+9 =