That’s where reverse search comes in. Press Ctrl + R, then start typing any part of the command you remember. The terminal will instantly search through your history and show matches as you type. For ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results