Linux bash history

Have you ever executed something on the linux shell and didn’t remember later how it was done?

Well if you remember just part of it you can search for it:

history | grep -i "[search string]"