Apple - Equivalent to alt-. in terminal
You have to change the Terminal’s behavior to the alt key acts as a meta key (like in X11 Terms). After you check that, everytime you press alt + ., you’ll get the last argument from the previous command. (You can repeat that command n times)
ESC + . inserts the last argument, quite similar like Alt + . on Linux
see https://apple.stackexchange.com/a/85152/31470