You can get any parameter of the previous command by using "Esc, <number>, Esc, .". If you repeat pressing "Esc, ." you get the n-th parameter from the command before the previous one, etc.
More details in this Stackoverflow answer: http://stackoverflow.com/a/4010170/578588