With CTRL + R you can search in previous commands (in the terminal of Ubuntu). However, it always seems to display the last occurrence of the search term. Is there any way to browse through all results?
migrated from stackoverflow.com Mar 19 '11 at 18:59
After you type the few characters to search, you can press CTRL+R again to browse through the history that matches what you typed.
It will be limited to the history size though.
If you just want to see all matching history lines at once, try