How can I recall the argument of the previous bash command?

Viewed 118291

Is there a way in Bash to recall the argument of the previous command?

I usually do vi file.c followed by gcc file.c.

Is there a way in Bash to recall the argument of the previous command?

7 Answers
Related