skip to content
Alvin Lucillo

Reverse search

/ 1 min read

You can perform a reverse search on your terminal history by pressing CTRL + R in your terminal. You’ll see prompt like (reverse-i-search). There, you can type that command you used before. Use arrows key to edit the command. Just use CTRL + R again to cycle through older matches. This works for Linux environment as well as on powershell.