Command line snippet of the week: 2

The snippet this week will be about copying arguments without retyping everything. It would be easier to show you how this works:

$ cd /home/user/flx
cd: /home/user/flx: No such file or directory
$ mkdir !*
mkdir /home/user/flx

By using !* it repeats all arguments previously used. If you only want to use the second argument for example, you use !:2.