Solved

How to enable or disable replay functionality

Posted on 2009-04-12
2
601 Views
Last Modified: 2013-12-27
How to enable or disable replay functionality for AIX, HP-UX, Solaris , linux.

for example if i did sqlplus '/as sysdba' and exit and after some time i do "r sql" then
sqlplus '/as sysdba' gets executed how is that done , how to enable or disable this feature.
0
Comment
Question by:umesh4exp
2 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 400 total points
ID: 24125678
Hi,

that feature is called 'command history' and is part of your shell, e.g. Korn Shell, regardless of the OS used.

If it's korn shell,  'r' is most probably an alias for the 'fc' command, which exists as a shell builtin as well as a binary file /usr/bin/fc.Check this by issuing 'alias r', and use 'man fc' to learn more.

You can control the size of the command history by setting the HISTSIZE variable, and you can set the location of the history file by setting the HISTFILE variable.

Disabling this feature is done by setting the 'nolog' option: 'set -o nolog'. If desired, set this option in your .profile.

Cheers

wmp

0
 
LVL 61

Assisted Solution

by:gheist
gheist earned 100 total points
ID: 24137009
also you can use "script" command to record all terminal IO for debug purpose.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Host issue and need to move VM's 2 241
how to check for shares on HP-UX 1 54
text in table need to be center of the box 4 75
Control Number of Log Files -Perl 7 55
A metadevice consists of one or more devices (slices). It can be expanded by adding slices. Then, it can be grown to fill a larger space while the file system is in use. However, not all UNIX file systems (UFS) can be expanded this way. The conca…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now