The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
OOM KIller INVOKE subratasaharia UNIX for Advanced & Expert Users 3 08-27-2009 02:10 PM
Not able to invoke a sh script from KSH rahman_riyaz Shell Programming and Scripting 1 03-31-2009 04:12 PM
Don't want to invoke job on holiday! mpang_ Shell Programming and Scripting 1 12-21-2006 06:49 AM
invoke same script twice mpang_ Shell Programming and Scripting 2 04-05-2006 06:14 AM
How to invoke SMIT GUI kswaraj AIX 4 07-27-2004 04:08 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 3 Weeks Ago
bobbygsk bobbygsk is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 90
How to invoke ESC+K

How to invoke ESC+K to get recent commands in Korn Shell.
In some of the unix machine ESC+K is available and in some machines, it does not work. All of the machines that I work have Korn shell.
  #2 (permalink)  
Old 3 Weeks Ago
scottn scottn is offline Forum Advisor  
VIP Member
  
 

Join Date: Jun 2009
Location: Zürich, CH
Posts: 1,042
Hi.

Using
Code:
set -o vi
usually does it for me.
  #3 (permalink)  
Old 3 Weeks Ago
bobbygsk bobbygsk is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 90
Very quick reply. Thx Scottn.

and also one more question. How to press ESC twice and get the full file name at shell prompt.
  #4 (permalink)  
Old 3 Weeks Ago
scottn scottn is offline Forum Advisor  
VIP Member
  
 

Join Date: Jun 2009
Location: Zürich, CH
Posts: 1,042
I don't know

The (normal) ksh way would be ESC then backslash (\)
  #5 (permalink)  
Old 3 Weeks Ago
bobbygsk bobbygsk is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 90
Probably you are right, Scottn. It worked. Its been more than a year that I touched Unix. Just brushing my skills again. Thank you very much
  #6 (permalink)  
Old 3 Weeks Ago
scottn scottn is offline Forum Advisor  
VIP Member
  
 

Join Date: Jun 2009
Location: Zürich, CH
Posts: 1,042
I just did:

Code:
set -o emacs
and the double escape thing worked... but not the escape-k!

Just read the man page, and emacs is the default, so that was a fat lot of help!

Last edited by scottn; 3 Weeks Ago at 06:05 PM..
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:09 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0