A more general way to do this is with M-. (Esc-.). This fetches the last argument from the previously entered command. Very handy when you need to apply multiple commands to a file or directory.
Repeat this key combo to fetch the last argument from further back in your command history.
I use this all the time (almost as much as tab completion).
Repeat this key combo to fetch the last argument from further back in your command history.
I use this all the time (almost as much as tab completion).