Bang Asterisk
Similar to the double bang trick is bang+asterisk. This combinations takes just the parameters from the previous command.
[user@host ~]$ ls /home
user
[user@host ~]$ cd !*
cd /home
[user@host home]$
Enjoy!
Similar to the double bang trick is bang+asterisk. This combinations takes just the parameters from the previous command.
[user@host ~]$ ls /home
user
[user@host ~]$ cd !*
cd /home
[user@host home]$
Enjoy!