Sample.
Linux .bash_profile
# .bash_profile
# File Descriptor Limit
ulimit -n 10240
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:/myuser/data
#CUSTOM ENTRIES SM KM
NLS_LANG=AMERICAN_AMERICA.UTF8
export NLS_LANG
export TNS_ADMIN=/mydrive/MiddlewareHome/Oracle_BI1/network/admin
export JAVA_HOME=/mydrive/MiddlewareHome/Oracle_BI1/jdk/bin
export MW_HOME=/mydrive/MiddlewareHome
export DOMAIN_HOME=$mydrive/user_projects/domains/bifoundation_domain
export WL_HOME=$mydrive/wlserver_10.3
export ORACLE_HOME=/mydrive/MiddlewareHome/Oracle_BI1
PATH=$PATH:/mydrive/MiddlewareHomes
PATH=$PATH:/mydrive/MiddlewareHome/Oracle_BI1/jdk/bin
PATH=$PATH:/mydrive/MiddlewareHome/Oracle_BI1/OPatch
export PATH
#RUN BI init script for NQCMD etc
. $MW_HOME/instances/instance1/bifoundation/OracleBIApplication/coreapplication/setup/bi-init.sh