see command line history code example
Example: command line history search
Ctrl+R
- Start typing a command and the most recent matching command will appear
- Press Ctrl+R again to cycle through results
- Press Enter or Tab to select the result
Ctrl+R
- Start typing a command and the most recent matching command will appear
- Press Ctrl+R again to cycle through results
- Press Enter or Tab to select the result