LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-04-2009, 10:04 PM   #1
glinux
LQ Newbie
 
Registered: Feb 2009
Posts: 7

Rep: Reputation: 0
reverse incremental search - reverting to original commandline


Hi,

to begin searching history via reverse incremental search i hit control-r.

sometimes, i wish to discard the search and revert to the commandline as it was before beginning the search.

are there key combinations to do this?

glinux
 
Old 03-04-2009, 11:08 PM   #2
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora
Posts: 3,935
Blog Entries: 5

Rep: Reputation: Disabled
One way to get yourself back to the command line (and discontinue your reverse incremental search) is simply: Ctrl + c.
 
Old 03-05-2009, 08:46 AM   #3
glinux
LQ Newbie
 
Registered: Feb 2009
Posts: 7

Original Poster
Rep: Reputation: 0
thanks.

another key combo to achieve same result is:

alt->

or for purists

meta->

this combo navigates to the last entry of the history stack and exits incremental search mode.

other key combinations for the history stack may be applicable for incremental search. i haven't check these.

glinux
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
reverting to original sound card drivers shreyaspotnis Linux - Software 1 07-17-2007 07:54 AM
Reverting to udev-054 dhave Slackware 1 07-17-2005 07:16 PM
Problem with permissions reverting to original setting preacherman481 Linux - General 1 03-30-2005 10:14 AM
Reverting back after install chrisbhall Linux - Newbie 2 01-06-2005 09:19 AM
Reverting the resolution suwandy_chandra Linux - Newbie 4 03-06-2004 06:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration