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 UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 01-03-2005
bhargav's Avatar
bhargav bhargav is offline
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.
Reply With Quote