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
History command akash_wagh Filesystems, Disks and Memory 2 01-22-2009 12:51 PM
Help with the History command cleansing_flame UNIX for Dummies Questions & Answers 2 02-04-2008 12:25 PM
Command history in AIX priya_v111 Shell Programming and Scripting 2 09-18-2006 02:48 PM
Command history a25khan UNIX for Dummies Questions & Answers 8 12-10-2003 06:05 AM
command history vikasdeshmukh UNIX for Dummies Questions & Answers 3 11-14-2001 05:37 AM

Closed Thread
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 08-01-2001
jack jack is offline
Registered User
  
 

Join Date: Aug 2001
Posts: 1
Question History Command

Hi

I am using ksh shell, and I am unable to use the command !n (where n is the number in the history list).

Please help me...

  #2 (permalink)  
Old 08-01-2001
andrec andrec is offline
Registered User
  
 

Join Date: Jul 2001
Location: US
Posts: 25
With ksh, I think you should use 'r' instead of '!'.
  #3 (permalink)  
Old 08-01-2001
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 6,661
In KSH you normally set your command line editor to VI and then use VI commands to see the history, search the history buffer, etc. This is very powerful because you can use command line pattern matches.

i.e. set -o vi

or:

export EDITOR=vi


Closed Thread

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 01:35 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