14 Feb
2008
14 Feb
'08
11:09 p.m.
Tim Green wrote:
!rm:p
I don't know what the ":p" will do. Anyone else?
See "man bash", HISTORY, Modifiers: After the optional word designator, there may appear a sequence of one or more of the following modifiers, each preceded by a ‘:’. ... p Print the new command but do not execute it. Personally I use Control-R for history searching, that's automatically more visual, you can hit it repeatedly to find older matches, and when you find the command you want to re-execute you can just hit return. -- Martijn