Solved

How to enable or disable replay functionality

Posted on 2009-04-12
2
599 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

747 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

12 Experts available now in Live!

Get 1:1 Help Now