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: Unix question

Re: Unix question

From: Ron Rogers <RROGERS_at_galottery.org>
Date: Fri, 11 Jan 2002 09:18:22 -0800
Message-ID: <F001.003EDE52.20020111085025@fatcity.com>

Roland.
 Be carefull when issuing command to execute something in Unix. It is unforgiving and will execute the matching command that it first finds in it's path. As an example:
the PATH=fo1;of2;of3 and there is a command called fobar.sh in both of1 and of3. You want the execute the fobar.sh that resides in of3. If you are at / and issue fobar.sh it will execute the one in of1 not of3. It is best to issue the full path such as ./of3/fobar.sh or be in the directory where your fobar.sh resides and then issue ./fobar.sh. ROR mª¿ªm

>>> joe_at_fullmoondba.com 01/11/02 08:40AM >>>
Also, either the directory needs to be in your PATH, or you need to execute it while within that directory by typing ./loadfiles.sh

or, you need to specify the full path when executing the script.

-Joe

At 04:50 AM 1/11/02 -0800, you wrote:
>Check the first line in the script so that Received: from CONNECT-MTA by galottethe
>path to the shell is
>correct.
>example:
>#!/bin/sh
>
>and maybe check the permissions on the file.
>
>/Patrik Malinen
>
>On Fri, 11 Jan 2002 Roland.Skoldblom_at_ica.se wrote:
>
> > Hallo,
> >
> > why do I get the error message "No such file or directory".
> > when I try to run unix script loadfiles.sh which is located in
> > the directory /konto/tmp.
> >
> > This file, loadfiles.sh really exists in that directory.
> >
> >
> > Thanks in advance
> >
> >
> > Roland
> >
> >
> >
> >
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > --
> > Author:
> > INET: Roland.Skoldblom_at_ica.se
> >
> > Fat City Network Services -- (858) 538-5051 FAX: (858)
538-5051
> > San Diego, California -- Public Internet access / Mailing
Lists
> >



> > To REMOVE yourself from this mailing list, send an E-Mail message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and
in
> > the message BODY, include a line containing: UNSUB ORACLE-L
> > (or the name of mailing list you want to be removed from). You
may
> > also send the HELP command for other information (like
subscribing).
> >
>
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: Patrik Malinen
> INET: the_at_pusher.net
>
>Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
>San Diego, California -- Public Internet access / Mailing
Lists
>--------------------------------------------------------------------
>To REMOVE yourself from this mailing list, send an E-Mail message
>to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
>the message BODY, include a line containing: UNSUB ORACLE-L
>(or the name of mailing list you want to be removed from). You may
>also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com 
-- 
Author: Joe Raube
  INET: joe_at_fullmoondba.com 

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Ron Rogers
  INET: RROGERS_at_galottery.org

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Fri Jan 11 2002 - 11:18:22 CST

Original text of this message

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