history | grep "partial" to search your command history for some long command you've used before but don't remember exactly. partial is just whatever part you can remember
history | grep "partial"
partial
You can also press CTRL + R and start writing the first letters of the command, and again press CTRL + R to find the next matches, next, and next...
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
history | grep "partial"
to search your command history for some long command you've used before but don't remember exactly.partial
is just whatever part you can rememberYou can also press CTRL + R and start writing the first letters of the command, and again press CTRL + R to find the next matches, next, and next...