You're replying to a comment by Amos Shapira.

Amos Shapira Permalink
June 16, 2008, 13:09

Ix:
Does the string you type have to match the BEGINNING of the command line?

^R/^S will do incremental search but they will match any part of the line, not just the beginning. I couldn't find an interactive way to match the beginning in a search.

Just go through "man bash" (look for a section named "Searching" under "READLINE") to find all the details.

BTW - while looking for an answer for you I found that it's possible to interactively yank arguments from previous line to the current one. It's not the full power of "!" notation but for people who prefer a more visual feedback and are not already accustomed to the old way it might be a good compromise.

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the word "0day_42": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.