Solved

How to enable or disable replay functionality

Posted on 2009-04-12
2
608 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 62

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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 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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

617 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