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
7

Leave a Reply

Your email address will not be published. Required fields are marked *