Reputation: 2719
I want to do a reverse search in unix shell. The Ctrl-R gives me the opportunity to specify the search string. The problem is that the command does not give me "enough time" to specify the string. Example: I want to reverse-search for "global". I enter the characters but as soon as I enter the 'g', it returns a result.
How can I specify a string of arbitrary length?
Thanks you, Patrick
Upvotes: 0
Views: 811
Reputation: 61449
Just keep typing. It's doing an "incremental search", meaning it will keep refining its search as you type.
Upvotes: 0
Reputation: 58601
from: http://www-uxsup.csx.cam.ac.uk/courses/FurtherUse/index.html
This is incremental searching; as you type each letter the most recent matching command (being displayed) may suddenly change. The shell will beep if you type something that causes the search to fail.
Upvotes: 0
Reputation: 81724
If you're talking about bash (for example) just keep typing -- the result updates as you type.
Upvotes: 1