Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: . /export/home/oracle/.profile

Re: . /export/home/oracle/.profile

From: hpuxrac <johnbhurley_at_sbcglobal.net>
Date: 2 Sep 2006 15:22:57 -0700
Message-ID: <1157235776.951247.9460@m79g2000cwm.googlegroups.com>

muddu wrote:
> Hi all,
>
> I want know what it does and the logic of .
> /export/home/oracle/.profile .
> Please help me out.
>
> Thanks.

When you "dot in" something ( example . /somedirectory/somefile ) into your unix environment this will add into your current unix environment the value of any environment variables that the file contains.

If the /export/home/oracle/.profile contains line like this ...

export ORACLE_HOME=$ORACLE_BASE/product/9.2.0 export PATH=$ORACLE_HOME/bin:$PATH
export ORACLE_SID=mydb

then it would accomplish adding the oracle executables to your unix PATH ( so you could run programs like sqlplus, etc ).

In other words, files like this are used to establish an environment so that programs can be executed in a unix environment. Received on Sat Sep 02 2006 - 17:22:57 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US