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: A bit of Linux advice yet again??

Re: A bit of Linux advice yet again??

From: Howard J. Rogers <howardjr2000_at_yahoo.com.au>
Date: Sun, 2 Feb 2003 00:08:41 +1100
Message-ID: <VwP_9.38238$jM5.96757@newsfeeds.bigpond.com>

"Eric Parker" <Eric_Parker_spamless_at_btopenworld.com> wrote in message news:b1g5m7$alm$1_at_helle.btinternet.com...
> Howard
> What shell are you using ?
> .profile for bash, ksh, zsh and sh

I'm pretty certain its bash. Which is why I was slightly gobsmacked that I had to invoke .profile manually each time

Regards
HJR
> .login for csh and tcsh
> HTH
> eric
> "Howard J. Rogers" <howardjr2000_at_yahoo.com.au> wrote in message
> news:0FK_9.38003$jM5.96462_at_newsfeeds.bigpond.com...
> > OK, maybe I should post this in a Linux newsgroup, but...
> >
> > Against all the odds, I've gotten 9.2 to run on Mandrake 9.0 (which, I
> have
> > to say, is the first Linux distro I've seen that's persuaded me there
are
> > viable alternatives to Windows). I have a "DB9" instance/database and an
> > OEMREP instance/database. Log on as the Oracle user, and there's not a
> > problem.
> >
> > But I want to log on as me. So, I create a .profile in my home directory
> > that sets all the usual variables, including path.
> >
> > I reboot the machine, just because I'm a former Windows user and we're
> used
> > to that sort of thing. I log on as me. I open a terminal window, and
type
> > 'sqlplus', and I get the error 'command not found'.
> >
> > I then type ". ./.profile", and the 'sqlplus' command works perfectly.
> >
> > Now, I realise I only know the backend of batch files, but I was rather
> > under the impression that .profile would be invoked the moment I logged
> in.
> > So why isn't it? What am I doing wrong (try and keep the list modestly
> > short!).
> >
> > Oh -one other thing. I know all about oratab, and I *do* get both my
> > instances starting automatically at reboot. But how does one automate
the
> > intelligent agent and listener? oratab doesn't seem syntactically
capable
> of
> > doing these, so I guess I must look elsewhere. Am I deep into shell
> > scripting at this point??
> >
> > Forebearance for a Windows user, please. I am at least trying!!
> >
> > Regards
> > HJR
> >
> >
> >
>
>
Received on Sat Feb 01 2003 - 07:08:41 CST

Original text of this message

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