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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Executing UNIX (Shell) command with in SQL Plus invokes .profile - WHY?

Re: Executing UNIX (Shell) command with in SQL Plus invokes .profile - WHY?

From: Madhu Sreeram <madhusreeram_at_gmail.com>
Date: Tue, 8 May 2007 11:09:57 -0500
Message-ID: <6a959ef30705080909h5ce2b2b4o7ba803c9ac9b9ced@mail.gmail.com>


On 5/8/07, BN <bnsarma_at_gmail.com> wrote:
>
> When I execute Shell Commands with in SQL Plus with a (!) every time its
> reading .profile, and displays Banner etc., its very annoying
>
> How can I get rid of this
>
>

Each time you get into a subshell, .bashrc is executed (I assume the shell is bash), which is probably setup to run the .profile, in your case. So you may want to change the contents of the .bashrc.

-Madhu S

--
http://www.freelists.org/webpage/oracle-l
Received on Tue May 08 2007 - 11:09:57 CDT

Original text of this message

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