Monday, March 3, 2014

Using Ctrl-R to search for terminal history

Press Ctrl and R together and the linux terminal will give  (reverse-i-search)`': Type a search word inside and the command will try to find the most recent command match

For example, If I input 'ssh' (without the quotation)
(reverse-i-search)`':`ssh': ssh node-c00

For more information
  1. Ctrl+R to search and other terminal history tricks

No comments: