error on .bashrc
Hi all,
Below is the copy of what I have in .bashrc:
# .bashrc
# User specific aliases and functions
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
#Oracle Installation
ORACLE_BASE=/opt/oracle; export ORACLE_BASE
CRS_HOME=$ORACLE_BASE/product/10.2.0/crs; export CRS_HOME
DB9I_HOME=$ORACLE_BASE/product/9.2.0; export DB9I_HOME
DB10G_HOME=$ORACLE_BASE/product/10.2.0; export DB10G_HOME
AGENT_HOME=$ORACLE_BASE/product/10.2.0/agent; export AGENT_HOME
BASE_PATH=.:$PATH:/usr/sbin:/usr/ccs/bin:/usr/bin:/usr/bin/X11:/usr/local/bin
BASE_PATH=$BASE_PATH:/usr/opt/java142:/usr/opt/java142/bin; export BASE_PATH
alias dba='cd /opt/oracle/dba'
alias envcrs='. /opt/oracle/dba/envcrs'
alias env10g='. /opt/oracle/dba/env10g'
alias env9i='. /opt/oracle/dba/env9i'
alias envagent='. /opt/oracle/dba/envagent'
every time when I tried to compile this file, I got an error:
$source .bashrc
-bash: id: command not found
-bash: id: command not found
-bash: id: command not found
-bash: [: too many arguments
-bash: tput: command not found
-bash: wc: command not found
-bash: tput: command not found
-bash: [: : integer expression expected
How can I fix this error???
thanks,
|