how to find old command in terminal code example Example: find old command terminal history | grep "foo*"