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