News for hackers. Stuff that matters.
Re:Unix Tricks by olefoo on Friday July 04, 2014 @02:17AM (#7987584)
I use `!:p` to the same effect. Which has the benefit that you can insert a history number between the bang! and the colon: ( set PS1 to include the command number if you do this a lot ).

There are no comments on this comment yet.