Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Enable command history

Status
Not open for further replies.

lweng

Technical User
May 18, 2001
113
US
How to enable command history on shell command line, oracle sqlplus and svrmgrl ? Thanks!

 
Hi ...

Depends on the Shell you are using ....

-> For bash its just the arrow keys

-> For ksh you can set emacs or vi and use those
vi and emacs syntax to navigate

e.g
ksh -o vi (for vi)

-> Likewise zsh also can get commands from history:


-> For C shell you have tcsh :


There is more for you to explore ... :cool:

Enjoy Unix
s-)
DJC
 
I'm in the bash, and when I hit the arrow keys( under root user # and oracle user $ ) and it response " ^[[A ". If you can detail the direction for me? Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top