Hmm, tried the ctrl-r command? How about this:
[ctrl-r] (start to type here)
and the shell should complete whatever you enter...
If you know the number of the command, you'd execute the line like this:
If the requested command is number 950, then that would read: