1 min read

grep your hist

grep your hist

While using docker I issue a lot of commands on the command line & sometimes i forget them. I found this to help recall & find them. Simple yes, but this is a great command for those that use bash.

Command: history | grep keyword
Example: history | grep 'docker run'

Write-Up from DigitalOcean