You can hit ctrl-r from the command line to initiate a search for a previously issued command. You can then hit ctrl-r to cycle back through the older commands that match the search string.
However, there doesn't seem to be a way to cycle forward through the commands after you've cycled backwards. ctrl-s is supposed to do this but it doesn't work for me. I've search google but have come up empty on finding an alternative.