This question already has an answer here:
- Equivalent to alt-. in terminal 2 answers
On linux consoles I always use Alt + . to get the last argument of the previous command in history.
for example if I had
as last command, and if I type
rm Alt -
this will result in
On an Apple Terminal, this doesen't work, is there an alternative?