reverse history search

Pressing Control and R at the prompt to search backwards through your command history as you type.

In more detail

Each further Control R finds an older match, Enter runs the line and the arrow keys let you edit it first. It comes from Readline, the line-editing library bash uses.

Related terms

Taught in

References