Hi,

 However, the linux command line is far more advanced than the windows 
equivalent.
You can type Ctrl-r and then a string, and it will search back your 
command history for the command matching your string.

You can type Ctrl-g to stop this search

You can type esc-< to go to the head of your command history.

You can type Ctrl-s to search forwards through your command history.

you can type Ctrl-k  to kill from the curent cursor point to the end of 
the line,  then issue a couple of normal commands, and then Ctrl-y to 
yank back the previously killed text to the current command line.

you can type Ctrl-a to go the start of the current command line

you can type Ctrl-e to go to the end of the current command line.

And you know what ?  these commands are the same as that used in emacs to 
edit the text in emacs. See - learning the emacs commands will make your 
command line editing miles easier.

emacs rules !

But vi has its place.. so I am not totally biassed.

Derek.
=====================================================

> On Thu, 19 Oct 2006 15:34, you wrote:
> > Is there a similar command in Linux?

-- 
Derek Smithies Ph.D.
IndraNet Technologies Ltd.
Email: [EMAIL PROTECTED]
ph +64 3 365 6485
Web: http://www.indranet-technologies.com/

Reply via email to