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: Shell scripting question

Re: Shell scripting question

From: Thater, William <ThaterW_at_telergy.net>
Date: Fri, 23 Feb 2001 05:21:32 -0800
Message-ID: <F001.002BB9B4.20010223044021@fatcity.com>

On Thu, 22 Feb 2001,John Dailey scribbled on the wall in glitter crayon:

->so I do not have to manually type in the password? Here's the command:
->
->rexec nt_machine -l user e:\\top_dir\\ev00_07\\run\\batch_script.bat

have you tried:
rexec nt_machine -l user e:\\top_dir\\ev00_07\\run\\batch_script.bat << !! password
!!

this works in ksh for sure, in bash i think and may work in sh too, but i don't use sh that often. note that the !! *MUST* start in position 1 and be on a line by itself.

--
Bill Thater             Certified ORACLE DBA
Telergy, Inc.            thaterw_at_telergy.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You gotta program like you don't need the money,
You gotta compile like you'll never get hurt,
You gotta run like there's nobody watching,
It's gotta come from the heart if you want it to work.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There are always at least two ways to program the same thing.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Thater, William
  INET: ThaterW_at_telergy.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).
Received on Fri Feb 23 2001 - 07:21:32 CST

Original text of this message

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