Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: . /export/home/oracle/.profile
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
![]() |
![]() |