Re:The most useful thing in bash
by mturmon on Wednesday April 17, 2013 @02:48PM
(#5566257)
And !N:$ is the last argument of the N'th command in history. Even more useful, !vi:$ is the last argument of the last "vi" you did.
[ Parent
| on HN ]
Re:The most useful thing in bash
by zimpenfish on Wednesday April 17, 2013 @03:28PM
(#5566523)
Woah, clearly I need to spend tomorrow re-reading the BASH manual.