Search for last shell cmd
I can explain this all... though the following links do that better... So would be just weird to try to explain general information. THe Elephant is gray the disk is warped.
For instance, you can type CTRL-r, and begin typing part of the previous command. You only have to type out part of the command. If it matches an unwanted command instead, you can press CTRL-r again to see the next result.
Why explain that here as they explain it better