In .profile, I have:
export HOST=`hostname`
export PS1='$HOST:$PWD>> '
export PATH=$PATH:/usr/local/bin:
export MANPATH=/usr/man:/usr/local/man
On su - oracle, I get this.
milt:/>> su - oracle
ORACLE_HOME=/u01/oracle/product/9.2.0.5
$ pwd
/home/oracle
but, what I want is:
milt:/> su - oracle
ORACLE_HOME=/u01/oracle/product/9.2.0.5
oracle@milt:/home/oracle>
I think I have everything in .profile.
What am I missing here?
thx much
export HOST=`hostname`
export PS1='$HOST:$PWD>> '
export PATH=$PATH:/usr/local/bin:
export MANPATH=/usr/man:/usr/local/man
On su - oracle, I get this.
milt:/>> su - oracle
ORACLE_HOME=/u01/oracle/product/9.2.0.5
$ pwd
/home/oracle
but, what I want is:
milt:/> su - oracle
ORACLE_HOME=/u01/oracle/product/9.2.0.5
oracle@milt:/home/oracle>
I think I have everything in .profile.
What am I missing here?
thx much