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
repeat character with printf ripat Shell Programming and Scripting 13 06-18-2009 06:01 AM
repeat pattern without using excel ajp7701 Shell Programming and Scripting 3 03-15-2008 12:28 AM
to copy and repeat falcondown01 Shell Programming and Scripting 4 09-07-2007 08:15 PM
FTP repeat sending files Euler04 Shell Programming and Scripting 1 11-24-2005 02:46 PM
any idea to repeat a action in VI myelvis UNIX for Dummies Questions & Answers 6 11-26-2003 06:21 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 01-03-2005
dereckbc dereckbc is offline
Registered User
  
 

Join Date: Dec 2004
Posts: 19
Repeat Commands

On my system I use Escape "k" to go back in commands. I read on tutorials that it is ctrl p, but that does not work on my system.

Anyone know what the command to go foward is?
  #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.
  #3 (permalink)  
Old 01-03-2005
bhargav's Avatar
bhargav bhargav is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2004
Location: USA
Posts: 511
Quote:
Anyone know what the command to go foward is?
CTRL + N in emacs mode

ESC and k in vi mode
  #4 (permalink)  
Old 01-04-2005
google's Avatar
google google is offline Forum Advisor  
Moderator
  
 

Join Date: Jul 2002
Location: Atlanta
Posts: 740
Quote:
Anyone know what the command to go foward is?
Assuming you have vi as your editor.

ESC + k moves backward
ESC + j moves forward
  #5 (permalink)  
Old 01-04-2005
dereckbc dereckbc is offline
Registered User
  
 

Join Date: Dec 2004
Posts: 19
google, esc+j is the one, thx.

However I do not have to be in vi to use the command, it works right from the command line.
  #6 (permalink)  
Old 01-04-2005
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
  
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Quote:

However I do not have to be in vi to use the command, it works right from the command line.
That's correct - run "set -o" from the command line - you should see that vi is set on.

Cheers
ZB
  #7 (permalink)  
Old 01-04-2005
dereckbc dereckbc is offline
Registered User
  
 

Join Date: Dec 2004
Posts: 19
zazzy, thank you. I do see vi set to "on".
Sponsored Links
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 07:23 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
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