h 15 # Would give the last 15 commands (like "history 15") h word1 word2 word3 # Would list commands containing all of the given words h /^(vim?|emacs)\b/ # Would list all editing commands (vi, vim, emacs)