Run A Command With The Arguments Of The Previous Command

June - 2021

This will get you the arguments from the previous command:

!*

You can use it to run a command with the same arguments. For example, if you mess up a command:

mdir ~/path/to/some/dir/to/make

mkdir !*