Error 

Bang Asterisk

11 views
Posted November 16, 2008 at 10:11pm in SysAdmin with tags , ,

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!



Leave a Reply