0% found this document useful (0 votes)
123 views

Bash Profile 12c

This .bash_profile file sets environment variables for an Oracle database including setting the TMP, TMPDIR, ORACLE_BASE, ORACLE_HOME, ORACLE_SID, PATH, LD_LIBRARY_PATH, and CLASSPATH variables. It also sources the .bashrc file to load any aliases and functions.

Uploaded by

Ankit Modi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
123 views

Bash Profile 12c

This .bash_profile file sets environment variables for an Oracle database including setting the TMP, TMPDIR, ORACLE_BASE, ORACLE_HOME, ORACLE_SID, PATH, LD_LIBRARY_PATH, and CLASSPATH variables. It also sources the .bashrc file to load any aliases and functions.

Uploaded by

Ankit Modi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

# .

bash_profile

# Get the aliases and functions


if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs


TMP=/tmp; export TMP
TMPDIR=$TMP; export TMPDIR

#ORACLE_HOSTNAME=accserver; export ORACLE_HOSTNAME


#ORACLE_UNQNAME=orcl; export ORACLE_UNQNAME
ORACLE_OWNER=Oracle; export ORACLE_OWNER
#/ORAINST/oracle12c/app/product/12.1.2/dbhome_1
ORACLE_BASE=/oracle/app; export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/12.1.2/dbhome_1; export ORACLE_HOME
ORACLE_SID=orclbr2; export ORACLE_SID
PATH=/usr/sbin:$PATH; export PATH
PATH=$ORACLE_HOME/bin:$PATH; export PATH
#NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATH
CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATH
#unset USERNAME

You might also like