$ !*
!* is all of the arguments to the previous command rather than just the last one.
This is useful in many situations.
Here's a simple example:
vi cd /stuff
oops!
[exit vi, twice]
!*
expands to: cd /stuff
Submitted by Neo23x0
Options:
commandlinefu.com by David Winterbottom
0sem comentários ainda