Reverse Search

me — zsh — 80×24 Illustration only — no shell command is executed. ⌃ ctrl ⌥ opt ⌘ cmd R C V ⇥ tab ⏎ return
  • At an empty prompt.
  • Press Control-R, then start typing part of an old command.
  • Press Return to run the match.
  • Found and re-run without retyping.
Speed 1.25×

Ready

Try this

Run a few commands like ls, pwd, and cd ~. Then press Control + R and type "cd" to see your previous cd commands appear.

Why it works

Stop retyping commands.

Don't retype — recall.

Open full demonstration ↗