Home · Latest · Trends  /  general
0

bash reverse-i-search ctrl r

rated 0 times [  0] [ 0]  / comments: 0 / hits: 445  / 2 yaers ago, fri, mar 3, 2017, 13:50:27
If you're looking to re-run a command from your history, you can search through simply by hitting ctrl-r at the bash prompt. Once you hit ctrl-r, you can start typing any part of the previous command. When it finds a match, you can keep hitting ctrl-r to scroll through the choices.
# ctrl-r gives you:
(reverse-i-search)`':
More From » general
 

Comments

There are no comments for this Snippet yet
Only authorized users can post. Please sign in first, or register a free account
 
Share
Sponsor
Posted
rob

rob

Member since Feb 22, 2017
Total Code Snippets: 118
Total Comments: 1
Location: n/a
Following
User not following anyone yet.
rob snippets
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017
2 yaers ago, wed, feb 22, 2017