Oracle FAQ Your Portal to the Oracle Knowledge Grid

Home -> Community -> Mailing Lists -> Oracle-L -> RE: stupid RMAN question

RE: stupid RMAN question

From: <>
Date: Mon, 14 Oct 2002 15:28:49 -0800
Message-ID: <>

"Unix SCRIPT command"? Never heard of it.


man script | col -b

Thanks! Learn something every day on this job.


SCRIPT(1) System General Commands Manual SCRIPT(1)

     script - make typescript of terminal session

     script [-a] [-f] [-q] [file]

     Script makes a typescript of everything printed on your terminal. It is

     useful for students who need a hardcopy record of an interactive session

     as proof of an assignment, as the typescript file can be printed out
     later with lpr(1).

     If the argument file is given, script saves all dialogue in file.  If 
     file name is given, the typescript is saved in the file typescript.


-a Append the output to file or typescript, retaining the prior
con­ tents.
-f Flush output after each write. This is nice for
telecooperation: One person does `mkfifo foo; script -f foo' and another can supervise real-time what is being done using `cat foo'.
-q Be quiet.
The script ends when the forked shell exits (a control-D to exit the Bourne shell (sh(1)), and exit, logout or control-d (if ignoreeof is not set) for the C-shell, csh(1)). Certain interactive commands, such as vi(1), create garbage in the type­ script file. Script works best with commands that do not manipulate the screen, the results are meant to emulate a hardcopy terminal. ENVIRONMENT The following environment variable is utilized by script: SHELL If the variable SHELL exists, the shell forked by script will be that shell. If SHELL is not set, the Bourne shell is assumed. (Most shells set this variable automatically). SEE ALSO csh(1) (for the history mechanism). HISTORY The script command appeared in 3.0BSD. BUGS Script places everything in the log file, including linefeeds and backspaces. This is not what the naive user expects. Linux July 30, 2000 Linux

"Kurth, Michael J." <> Sent by:
 10/14/2002 03:03 PM
 Please respond to ORACLE-L  

        To:     Multiple recipients of list ORACLE-L <>
        Subject:        RE: stupid RMAN question

If you're on Unix, you can use the Unix SCRIPT command to write the terminal output to a file.
-----Original Message-----
Sent: Monday, October 14, 2002 10:14 AM
To: Multiple recipients of list ORACLE-L

Ok i've been thru all of the 817 docs multiple times, searched metalstink, read the chapters in backup/recovery 101 multiple times.  

Where in the heck is the "spool" command for rman?  

Can i only spool stuff(and its an either to a file or to the screen, not both?) using the log parameter when starting rman.  

if I've started rman with out the log parm, there is no way to open a spool file?  

I'm currently stuck on 817 rman if that makes a difference.  

thanks, joe  

Privileged/Confidential information may be contained in this message. The information contained in this message is intended only for the use of the recipient(s) named above and their co-workers who are working on the same matter.

The recipient of this information is prohibited from disclosing the information to any other party unless this disclosure has been authorized in advance.

If you are not intended recipient of this message or any agent responsible for delivery of the message to the intended recipient, you are hereby notified that any disclosure, copying, distribution or action taken in reliance on the contents of this message is strictly prohibited. You should immediately destroy this message and kindly notify the sender by reply E-Mail.

Please advise immediately if you or your employer does not consent to Internet E-Mail for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of the firm shall be understood as neither given nor endorsed by it.

Please see the official ORACLE-L FAQ:

Fat City Network Services    -- 858-538-5051
San Diego, California        -- Mailing list and web hosting services
To REMOVE yourself from this mailing list, send an E-Mail message
to: (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 Mon Oct 14 2002 - 18:28:49 CDT

Original text of this message