The UNIX and Linux Forums  

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




Thread: Repeat Commands
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 01-03-2005
bhargav's Avatar
bhargav bhargav is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2004
Location: USA
Posts: 511
It depends on yr EDITOR setting u have.

for EDITOR as vi ... ESC + k navaigates to previous commands.

CTRL + P .. i think that is for emacs editor.


do either set -o vi
or

set -o emacs

after exporting the EDITOR=vi or EDITOR=emacs.