Skip to content

Instantly share code, notes, and snippets.

@xenoterracide
Created April 22, 2010 10:01
Show Gist options
  • Save xenoterracide/375050 to your computer and use it in GitHub Desktop.
Save xenoterracide/375050 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Check for an interactive session
[ -z "$PS1" ] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
export ORACLE_BASE="${HOME}/app/oracle"
export ORACLE_HOME="${ORACLE_BASE}/product/11.2.0/dbhome_1"
export ORACLE_SID=orcl
export ORACLE_HOME_LISTNER="${ORACLE_HOME}"
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${ORACLE_HOME}/lib"
export ORACLE_INVENTORY="${ORACLE_HOME}/inventory"
PATH="${PATH}:${ORACLE_HOME}/bin"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment