Monday, October 15, 2007

CTRL+R Terminal Command Search

When in the terminal, simply type CTRL+R so bring up a "reverse-i-search" prompt where you can search for any text in any of your previous commands that are stored.
This means that if you type "o" you'll get the last `sudo` command that you ran, but if you type "om" you'll get the last time you used the "/home" in a path.

Command Line: Ctrl+R to search and other terminal history tricks

No comments: